Package org.infinispan.xsite.events
Enum XSiteEventType
- All Implemented Interfaces:
Serializable
,Comparable<XSiteEventType>
Types of
XSiteEvent
.- Since:
- 15.0
-
Enum Constant Summary
Enum ConstantsEnum 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 type with the specified name.static XSiteEventType[]
values()
Returns an array containing the constants of this enum type, 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 type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified nameNullPointerException
- if the argument is null
-