@Retention(value=RUNTIME) @Target(value=METHOD) public @interface CacheEntryExpired
CacheEntryExpiredEvent
otherwise an IncorrectListenerException
will be thrown when registering your cache listener.
Locking: there is no guarantee as to whether the lock is acquired for this key, however there is internal
guarantees to make sure these events are not out of order
It is possible yet highly unlikely to receive this event right after a remove event even though the value
was previously removed. This can happen in the case when an expired entry in a store (not present in memory) is
found by the reaper thread and a remove occurs at the same time.Listener
Copyright © 2021 JBoss by Red Hat. All rights reserved.