[#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&period; Invoke the post&hyphen;eviction callback for each removed item&period; Return the number of items successfully removed&period;

== Synopsis

Declared in `&lt;bdlcc&lowbar;cache&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
int
eraseBulk(xref:bsl/vector-00d.adoc[bsl::vector&lt;KEY&gt;] const& keys);
----


[.small]#Created with https://www.mrdocs.com[MrDocs]#
