public static interface AdvancedCacheExpirationWriter.ExpirationPurgeListener<K,V> extends AdvancedCacheWriter.PurgeListener<K>
AdvancedCacheExpirationWriter.purge(Executor, ExpirationPurgeListener)
method.
Note this interface adds a new method to the purge listener. It is possible that a cache store may want to
have a key only expiration and a key/metadata for various performance reasons.Modifier and Type | Method and Description |
---|---|
void |
marshalledEntryPurged(MarshalledEntry<K,V> entry)
Optional.
|
entryPurged
void marshalledEntryPurged(MarshalledEntry<K,V> entry)
AdvancedCacheExpirationWriter
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.Copyright © 2017 JBoss, a division of Red Hat. All rights reserved.