Enum FederatedConnectionEvent.Type
- java.lang.Object
-
- java.lang.Enum<FederatedConnectionEvent.Type>
-
- com.tangosol.net.events.federation.FederatedConnectionEvent.Type
-
- All Implemented Interfaces:
Serializable
,Comparable<FederatedConnectionEvent.Type>
- Enclosing interface:
- FederatedConnectionEvent
public static enum FederatedConnectionEvent.Type extends Enum<FederatedConnectionEvent.Type>
The types ofFederatedConnectionEvent
s.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description BACKLOG_EXCESSIVE
Dispatched when a participant is backlogged; if the participant is remote it indicates the remote participant has more work than it can handle; if the participant is local it indicates this participant has more work than it can handle.BACKLOG_NORMAL
Dispatched when a participant was previously backlogged but is no longer so.CONNECTING
Dispatched when a connection is about to be initiated to a participant.DISCONNECTED
Dispatched when a disconnection from a participant is detected.ERROR
Dispatched when replicating data to a participant encountered errors while applying the changes on the remote participant or due to exhausting connection retry attempts to the participant.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static FederatedConnectionEvent.Type
valueOf(String name)
Returns the enum constant of this type with the specified name.static FederatedConnectionEvent.Type[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
CONNECTING
public static final FederatedConnectionEvent.Type CONNECTING
Dispatched when a connection is about to be initiated to a participant.
-
DISCONNECTED
public static final FederatedConnectionEvent.Type DISCONNECTED
Dispatched when a disconnection from a participant is detected.
-
BACKLOG_EXCESSIVE
public static final FederatedConnectionEvent.Type BACKLOG_EXCESSIVE
Dispatched when a participant is backlogged; if the participant is remote it indicates the remote participant has more work than it can handle; if the participant is local it indicates this participant has more work than it can handle.
-
BACKLOG_NORMAL
public static final FederatedConnectionEvent.Type BACKLOG_NORMAL
Dispatched when a participant was previously backlogged but is no longer so.
-
ERROR
public static final FederatedConnectionEvent.Type ERROR
Dispatched when replicating data to a participant encountered errors while applying the changes on the remote participant or due to exhausting connection retry attempts to the participant.
-
-
Method Detail
-
values
public static FederatedConnectionEvent.Type[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (FederatedConnectionEvent.Type c : FederatedConnectionEvent.Type.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static FederatedConnectionEvent.Type valueOf(String name)
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
-
-