Annotation Type CacheEntryEvicted

Deprecated. Note that this annotation will be removed in Infinispan 6.0

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, a CacheEntryEvictedEvent 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.

Manik Surtani, Galder ZamarreƱo
See Also:
Listener, CacheEntryLoaded, CacheEntriesEvicted


Copyright © 2011 JBoss, a division of Red Hat. All Rights Reserved.