Package com.hazelcast.wan
Interface WanEvent<T>
- Type Parameters:
T
- type of event data
public interface WanEvent<T>
Interface for all WAN replication messages
-
Method Summary
Modifier and TypeMethodDescriptionReturns the event object/data.Returns the type of this event.Returns the name of the distributed object (map or cache) on which this event occurred.Returns the service name on which this event occurred.
-
Method Details
-
getServiceName
Returns the service name on which this event occurred.- Returns:
- the service name on which this event occurred.
- See Also:
-
MapService.SERVICE_NAME
ICacheService.SERVICE_NAME
-
getObjectName
Returns the name of the distributed object (map or cache) on which this event occurred.- Returns:
- the distributed object name
-
getEventType
Returns the type of this event.- Returns:
- the WAN event type
-
getEventObject
Returns the event object/data.- Returns:
- the WAN event object
-