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 Type Method Description T
getEventObject()
Returns the event object/data.WanEventType
getEventType()
Returns the type of this event.String
getObjectName()
Returns the name of the distributed object (map or cache) on which this event occurred.String
getServiceName()
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
-