Annotation Interface Notify
Marks an event listener as polled event listener. It will be wrapped automtically with
SimpleNotifyEventListenerContainer.
Template can be provided using EventTemplate marked on a general
method that returns the template.
The event listener method should be marked with SpaceDataEvent.
- Author:
- kimchy
- See Also:
-
Optional Element Summary
Optional ElementsModifier and TypeOptional ElementDescriptionbooleanSet whether this container will start once instantiated.booleanbooleanThe name of the bean that is theGigaSpacethis container will use.booleanDeprecated.booleanbooleanWhen batching is turned on, should the batch of events be passed as anObject[]to the listener.booleanbooleanA tag can be supplied to identify a durable notification listener endpoint for debug/auditing purposes.The value may indicate a suggestion for a logical component name, to be turned into a Spring bean in case of an autodetected component.
-
Element Details
-
value
String valueThe value may indicate a suggestion for a logical component name, to be turned into a Spring bean in case of an autodetected component.- Returns:
- the suggested component name, if any
- Default:
""
-
gigaSpace
-
performSnapshot
boolean performSnapshot- See Also:
- Default:
true
-
performTakeOnNotify
boolean performTakeOnNotify- See Also:
- Default:
false
-
ignoreEventOnNullTake
boolean ignoreEventOnNullTake- See Also:
- Default:
false
-
guaranteed
-
durable
boolean durable- See Also:
- Default:
false
-
tag
String tagA tag can be supplied to identify a durable notification listener endpoint for debug/auditing purposes. The tag is attached to the replication statistics and outgoing channel of durable notifications.- Returns:
- A name/id/tag to identify this durable notification listener endpoint.
- Since:
- 14.5
- Default:
""
-
fifo
boolean fifo- See Also:
- Default:
false
-
passArrayAsIs
boolean passArrayAsIsWhen batching is turned on, should the batch of events be passed as anObject[]to the listener. Default tofalsewhich means it will be passed one event at a time.- See Also:
- Default:
false
-
notifyFilter
Class<INotifyDelegatorFilter> notifyFilter- See Also:
- Default:
com.j_spaces.core.client.INotifyDelegatorFilter.class
-
autoStart
boolean autoStartSet whether this container will start once instantiated.Default is
true. Set tofalsein order for this container to be started usingAbstractEventListenerContainer.start().- Default:
true
-
replicateNotifyTemplate
-
triggerNotifyTemplate
-