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.- Since:
- 6.0
- Author:
- Mircea Markus
-
Method Summary
-
Method Details
-
entryPurged
Optional. If possible,AdvancedCacheWriterimplementors 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 receiveCacheEntryExpiredfor the entries that are removed from the persistent store directly.
-