public static enum RaftSessionEvent.Type extends Enum<RaftSessionEvent.Type>
| Enum Constant and Description |
|---|
CLOSE
Indicates that a session has been closed by the client.
|
EXPIRE
Indicates that a session has been expired by the cluster.
|
OPEN
Indicates that a session has been opened by the client.
|
| Modifier and Type | Method and Description |
|---|---|
static RaftSessionEvent.Type |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RaftSessionEvent.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RaftSessionEvent.Type OPEN
public static final RaftSessionEvent.Type EXPIRE
public static final RaftSessionEvent.Type CLOSE
public static RaftSessionEvent.Type[] values()
for (RaftSessionEvent.Type c : RaftSessionEvent.Type.values()) System.out.println(c);
public static RaftSessionEvent.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 nullCopyright © 2013–2017. All rights reserved.