public interface SpaceDataEventListener<T>
MethodEventListenerAdapter
,
AnnotationEventListenerAdapter
Modifier and Type | Method and Description |
---|---|
void |
onEvent(T data,
GigaSpace gigaSpace,
org.springframework.transaction.TransactionStatus txStatus,
Object source)
An event callback with the actual data object of the event.
|
void onEvent(T data, GigaSpace gigaSpace, org.springframework.transaction.TransactionStatus txStatus, Object source)
data
- The actual data object of the eventgigaSpace
- A GigaSpace instance that can be used to perform additional operations
against the spacetxStatus
- An optional transaction status allowing to rollback a transaction
programmaticallysource
- Optional additional data or the actual source event data object (where
relevant)Copyright © GigaSpaces.