Package org.infinispan.persistence.spi
Interface AdvancedCacheWriter.PurgeListener<K>
- All Known Subinterfaces:
AdvancedCacheExpirationWriter.ExpirationPurgeListener<K,
V>
- Enclosing interface:
AdvancedCacheWriter<K,
V>
public static interface AdvancedCacheWriter.PurgeListener<K>
Callback to be notified when an entry is removed by the
AdvancedCacheWriter.purge(java.util.concurrent.Executor, org.infinispan.persistence.spi.AdvancedCacheWriter.PurgeListener)
method.-
Method Summary
-
Method Details
-
entryPurged
Optional. If possible,AdvancedCacheWriter
implementors should invoke this method for every entry that is purged from the store. One of the side effects of not implementing this method is that listeners do not receiveCacheEntryExpired
for the entries that are removed from the persistent store directly.
-