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

Name

Description

keys

keys of the items to remove

Created with MrDocs