BloombergLP::bdlcc::Cache::setPostEvictionCallback

Set the post-eviction callback to the specified postEvictionCallback.

Synopsis

Declared in <bdlcc_cache.h>

void
setPostEvictionCallback(PostEvictionCallback const& postEvictionCallback);

Description

The post-eviction callback is invoked for each item evicted or removed from this cache.

Parameters

NameDescription
postEvictionCallbackcallback invoked after eviction or removal