BloombergLP::bdlcc::Cache::eraseBulk

eraseBulk overloads

Synopses

Declared in <bdlcc_cache.h>

Remove the items having the specified keys from this cache. Invoke the post-eviction callback for each removed item. Return the number of items successfully removed.

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

Remove the items having the keys in the specified range [ begin, end )], from this cache. Invoke the post-eviction callback for each removed item. Return the number of items successfully removed.

template<class INPUT_ITERATOR>
int
eraseBulk(
    INPUT_ITERATOR begin,
    INPUT_ITERATOR end);
» more...