@Retention(value=RUNTIME) @Target(value=METHOD) public @interface CacheEntryExpired
IncorrectListenerExceptionwill 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.
Copyright © 2015 JBoss, a division of Red Hat. All rights reserved.