Interface AdvancedCacheWriter.PurgeListener<K>

All Known Subinterfaces:
AdvancedCacheExpirationWriter.ExpirationPurgeListener<K,V>
Enclosing interface:
AdvancedCacheWriter<K,V>

public static interface AdvancedCacheWriter.PurgeListener<K>
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Optional.
  • Method Details

    • entryPurged

      void entryPurged(K key)
      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 receive CacheEntryExpired for the entries that are removed from the persistent store directly.