Interface WanEvent<T>

  • Type Parameters:
    T - type of event data

    public interface WanEvent<T>
    Interface for all WAN replication messages
    • Method Detail

      • getServiceName

        @Nonnull
        java.lang.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
        java.lang.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