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 theAdvancedCacheWriter.purge(java.util.concurrent.Executor, org.infinispan.persistence.spi.AdvancedCacheWriter.PurgeListener)method.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidentryPurged(K key)Optional.
-
-
-
Method Detail
-
entryPurged
void entryPurged(K key)
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.
-
-