Package org.openspaces.events.notify
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
String gigaSpaceThe name of the bean that is theGigaSpacethis container will use.Note, this is optional. If there is only one
GigaSpacedefined in the application context, it will be used.- Default:
- ""
-
performSnapshot
boolean performSnapshot- Default:
- true
-
performTakeOnNotify
boolean performTakeOnNotify- Default:
- false
-
ignoreEventOnNullTake
boolean ignoreEventOnNullTake- Default:
- false
-
guaranteed
Deprecated.- Default:
- false
-
durable
boolean durable- 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- 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.- 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
ReplicateNotifyTemplateType replicateNotifyTemplate- Default:
- DEFAULT
-
triggerNotifyTemplate
TriggerNotifyTemplateType triggerNotifyTemplate- Default:
- DEFAULT
-