public interface CacheEntryExpiredEvent<K,V> extends CacheEntryEvent<K,V>
CacheEntryExpired
.
The getValue()
method returns the value of the entry before it expired. Note this value may be null if
the entry expired from a cache store
This is a post only event
This event can be raised multiple times in sequence for a single expiration event if concurrent reads for the same key occur on different nodes. This should rarely happen though since this window is narrowed internally by the cache.
Event.Type
Modifier and Type | Method and Description |
---|---|
V |
getValue()
Retrieves the value of the entry being expired.
|
getKey, getMetadata, isCurrentState
getGlobalTransaction, isOriginLocal
V getValue()
getValue
in interface CacheEntryEvent<K,V>
Copyright © 2021 JBoss by Red Hat. All rights reserved.