public enum ApplicationState extends java.lang.Enum<ApplicationState>
Important Note: Gossip uses the ordinal of this enum in the messages it exchanges, so values in that enum should not be re-ordered or removed. The end of this enum should also always include some "padding" so that if newer versions add new states, old nodes that don't know about those new states don't "break" deserializing those states.
Enum Constant and Description |
---|
DC |
HOST_ID |
INTERNAL_IP |
LOAD |
NET_VERSION |
RACK |
RELEASE_VERSION |
REMOVAL_COORDINATOR |
RPC_ADDRESS |
RPC_READY |
SCHEMA |
SEVERITY |
SSTABLE_VERSIONS
The set of sstable versions on this node.
|
STATUS |
TOKENS |
X_11_PADDING |
X1 |
X10 |
X2 |
X3 |
X5 |
X6 |
X7 |
X8 |
X9 |
Modifier and Type | Method and Description |
---|---|
static ApplicationState |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ApplicationState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ApplicationState STATUS
public static final ApplicationState LOAD
public static final ApplicationState SCHEMA
public static final ApplicationState DC
public static final ApplicationState RACK
public static final ApplicationState RELEASE_VERSION
public static final ApplicationState REMOVAL_COORDINATOR
public static final ApplicationState INTERNAL_IP
public static final ApplicationState RPC_ADDRESS
public static final ApplicationState X_11_PADDING
public static final ApplicationState SEVERITY
public static final ApplicationState NET_VERSION
public static final ApplicationState HOST_ID
public static final ApplicationState TOKENS
public static final ApplicationState RPC_READY
public static final ApplicationState X1
public static final ApplicationState X2
public static final ApplicationState X3
public static final ApplicationState SSTABLE_VERSIONS
The value (a set of sstable VersionAndType
) is serialized as
a comma-separated list.
public static final ApplicationState X5
public static final ApplicationState X6
public static final ApplicationState X7
public static final ApplicationState X8
public static final ApplicationState X9
public static final ApplicationState X10
public static ApplicationState[] values()
for (ApplicationState c : ApplicationState.values()) System.out.println(c);
public static ApplicationState 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 nullCopyright © 2009- The Apache Software Foundation