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
    Returns 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

      @Nonnull String 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

      @Nonnull String getObjectName()
      Returns the name of the distributed object (map or cache) on which this event occurred.
      Returns:
      the distributed object name
    • getEventType

      @Nonnull WanEventType getEventType()
      Returns the type of this event.
      Returns:
      the WAN event type
    • getEventObject

      @Nullable T getEventObject()
      Returns the event object/data.
      Returns:
      the WAN event object