Enum Class XSiteEventType

java.lang.Object
java.lang.Enum<XSiteEventType>
org.infinispan.xsite.events.XSiteEventType
All Implemented Interfaces:
Serializable, Comparable<XSiteEventType>, Constable

public enum XSiteEventType extends Enum<XSiteEventType>
Types of XSiteEvent.
Since:
15.0
  • Enum Constant Details

    • SITE_CONNECTED

      public static final XSiteEventType SITE_CONNECTED
      Sent from site A to site B, notifies site B that a new connection to A is available.
    • STATE_REQUEST

      public static final XSiteEventType STATE_REQUEST
      Sent from site A to site B, notifies site B that it can send state (automatic cross-site state transfer must be enabled).
    • INITIAL_STATE_REQUEST

      public static final XSiteEventType INITIAL_STATE_REQUEST
      When a cache 'c' starts in site A and has site B as asynchronous backup, this event is sent from site A to site B to notify site B to send state (automatic cross-site state transfer must be enabled).
  • Method Details

    • values

      public static XSiteEventType[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static XSiteEventType valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null