[#BloombergLP-bdlcc-Cache-eraseBulk-07] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlcc.adoc[bdlcc]::xref:BloombergLP/bdlcc/Cache.adoc[Cache]::eraseBulk :relfileprefix: ../../../ :mrdocs: Remove the items having the specified `keys` from this cache. == Synopsis Declared in `<bdlcc_cache.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- int eraseBulk(xref:bsl/vector-00d.adoc[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 [cols="1,4"] |=== | Name| Description | *keys* | keys of the items to remove |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#