public static enum CoordinationSession.State extends Enum<CoordinationSession.State>
| Enum Constant and Description |
|---|
CLOSED |
CONNECTED |
CONNECTING |
INITIAL |
LOST |
RECONNECTED |
RECONNECTING |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isActive() |
boolean |
isConnected() |
static CoordinationSession.State |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CoordinationSession.State[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CoordinationSession.State INITIAL
public static final CoordinationSession.State CONNECTING
public static final CoordinationSession.State CONNECTED
public static final CoordinationSession.State RECONNECTING
public static final CoordinationSession.State RECONNECTED
public static final CoordinationSession.State CLOSED
public static final CoordinationSession.State LOST
public static CoordinationSession.State[] values()
for (CoordinationSession.State c : CoordinationSession.State.values()) System.out.println(c);
public static CoordinationSession.State 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 nullpublic boolean isConnected()
public boolean isActive()
Copyright © 2025. All rights reserved.