org.jboss.cache.notifications.annotation
Annotation Type NodeInvalidated


@Retention(value=RUNTIME)
@Target(value=METHOD)
public @interface NodeInvalidated

This annotation should be used on methods that need to be notified when a node is invalidated.

Methods annotated with this annotation should be public and take in a single parameter, a NodeInvalidatedEvent otherwise an IncorrectCacheListenerException will be thrown when registering your cache listener.

Since:
3.0
Author:
Manik Surtani
See Also:
CacheListener



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