BloombergLP::bdlcc::Cache::eraseBulk

Remove the items having the specified keys from this cache.

Synopsis

Declared in <bdlcc_cache.h>

int
eraseBulk(bsl::vector<KEY> const& keys);

Description

Invoke the post-eviction callback for each removed item. Return the number of items successfully removed.

Return Value

the number of items successfully removed

Parameters

NameDescription
keyskeys of the items to remove