public static enum ServerEvent.Type extends java.lang.Enum<ServerEvent.Type>
| Enum Constant and Description |
|---|
APPLICATION_LIST_CHANGE
This event is sent if there is a change in application membership of this server, ie.
|
CLOSED
The Server entity is closed and cannot be used anymore
|
CONNECTED
Connection to the server manager has been established
|
CONTROLLER_LIST_CHANGE
Change in controllers defined in the server.
|
DISCONNECTED
Connection to the server manager has closed no reconnection will happen.
|
ERROR |
MANAGER_LIST_CHANGE
Change in the managers available to the server.
|
STALE
This event is sent if connection retries are enabled and the Server
object fails to connect to any known manager process.
|
UPTODATE
This event is sent, if a server is in stale state and a reconnection attempt succeeds.
|
WORKSPACE_LIST_CHANGE
Change in workspaces defined on the server.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
isFinal() |
static ServerEvent.Type |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ServerEvent.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ServerEvent.Type CONNECTED
public static final ServerEvent.Type STALE
Number of attempts can be configured at creation time using ServerOptions.Builder.setConnectionRetries(int)
public static final ServerEvent.Type UPTODATE
public static final ServerEvent.Type DISCONNECTED
public static final ServerEvent.Type CLOSED
public static final ServerEvent.Type MANAGER_LIST_CHANGE
public static final ServerEvent.Type CONTROLLER_LIST_CHANGE
public static final ServerEvent.Type WORKSPACE_LIST_CHANGE
public static final ServerEvent.Type APPLICATION_LIST_CHANGE
public static final ServerEvent.Type ERROR
public static ServerEvent.Type[] values()
for (ServerEvent.Type c : ServerEvent.Type.values()) System.out.println(c);
public static ServerEvent.Type valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant
with the specified namejava.lang.NullPointerException - if the argument is nullpublic boolean isFinal()