Package org.infinispan.xsite.events
Enum Class XSiteEventType
- All Implemented Interfaces:
Serializable
,Comparable<XSiteEventType>
,Constable
Types of
XSiteEvent
.- Since:
- 15.0
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionWhen 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).Sent from site A to site B, notifies site B that a new connection to A is available.Sent from site A to site B, notifies site B that it can send state (automatic cross-site state transfer must be enabled). -
Method Summary
Modifier and TypeMethodDescriptionstatic XSiteEventType
Returns the enum constant of this class with the specified name.static XSiteEventType[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
SITE_CONNECTED
Sent from site A to site B, notifies site B that a new connection to A is available. -
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
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
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
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 nameNullPointerException
- if the argument is null
-