[#BloombergLP-bdlcc-Cache-setPostEvictionCallback]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlcc.adoc[bdlcc]::xref:BloombergLP/bdlcc/Cache.adoc[Cache]::setPostEvictionCallback
:relfileprefix: ../../../
:mrdocs:

Set the post&hyphen;eviction callback to the specified `postEvictionCallback`&period; The post&hyphen;eviction callback is invoked for each item evicted or removed from this cache&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
void
setPostEvictionCallback(xref:BloombergLP/bdlcc/Cache/PostEvictionCallback.adoc[PostEvictionCallback] const& postEvictionCallback);
----


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