|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |
@Retention(value=RUNTIME) @Target(value=METHOD) @Deprecated public @interface CacheEntryEvicted
This annotation should be used on methods that need to be notified when cache entries are evicted.
Methods annotated with this annotation should be public and take in a single parameter, aCacheEntryEvictedEvent
otherwise an IncorrectListenerException
will be thrown when registering your cache listener.
Any exceptions thrown by the listener will abort the call. Any other listeners not yet called will not be called,
and any transactions in progress will be rolled back.
Listener
,
CacheEntryLoaded
,
CacheEntriesEvicted
|
--> | |||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |