/Listener.java Secret
Last active
August 29, 2015 13:56
Listener Annotation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Defines whether the annotated listener is clustered or not. | |
* Important: Clustered listener can only be notified for @CacheEntryRemoved, @CacheEntryCreated and | |
* @CacheEntryModified events. | |
*/ | |
boolean clustered() default false; | |
/** | |
* If set to true then the entire existing state within the cluster is | |
* evaluated. For existing matches of the value, an @CacheEntryCreated event is triggered against the listener | |
* during registration. If this is a local listener only the current node state is evaluated. Only in a cluster | |
* listener is the entire state sent back. | |
* <p> | |
* <b>Currently this is not supported!</b> | |
**/ | |
boolean includeCurrentState() default false; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment