public static enum FederatedConnectionEvent.Type extends Enum<FederatedConnectionEvent.Type>
FederatedConnectionEvent
s.Enum Constant and 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.
|
Modifier and Type | Method and 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.
|
public static final FederatedConnectionEvent.Type CONNECTING
public static final FederatedConnectionEvent.Type DISCONNECTED
public static final FederatedConnectionEvent.Type BACKLOG_EXCESSIVE
public static final FederatedConnectionEvent.Type BACKLOG_NORMAL
public static final FederatedConnectionEvent.Type ERROR
public static FederatedConnectionEvent.Type[] values()
for (FederatedConnectionEvent.Type c : FederatedConnectionEvent.Type.values()) System.out.println(c);
public static FederatedConnectionEvent.Type valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null