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

Name

Description

postEvictionCallback

callback invoked after eviction or removal

Created with MrDocs