Package org.apache.cassandra.gms
Enum Class ApplicationState
- All Implemented Interfaces:
Serializable,Comparable<ApplicationState>,Constable
The various "states" exchanged through Gossip.
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.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionDeprecated.See CASSANDRA-7544Deprecated.See CASSANDRA-7544The set of sstable versions on this node.Deprecated.See CASSANDRA-7544 -
Method Summary
Modifier and TypeMethodDescriptionstatic ApplicationStateReturns the enum constant of this class with the specified name.static ApplicationState[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
STATUS
Deprecated.See CASSANDRA-7544 -
LOAD
-
SCHEMA
-
DC
-
RACK
-
RELEASE_VERSION
-
REMOVAL_COORDINATOR
-
INTERNAL_IP
Deprecated.See CASSANDRA-7544 -
RPC_ADDRESS
Deprecated.See CASSANDRA-7544 -
X_11_PADDING
-
SEVERITY
-
NET_VERSION
-
HOST_ID
-
TOKENS
-
RPC_READY
-
INTERNAL_ADDRESS_AND_PORT
-
NATIVE_ADDRESS_AND_PORT
-
STATUS_WITH_PORT
-
SSTABLE_VERSIONS
The set of sstable versions on this node. This will usually be only the "current" sstable format (the one with which new sstables are written), but may contain more on newly upgraded nodes before `upgradesstable` has been run.The value (a set of sstable
Version) is serialized as a comma-separated list. -
DISK_USAGE
-
INDEX_STATUS
-
X1
-
X2
-
X3
-
X4
-
X5
-
X6
-
X7
-
X8
-
X9
-
X10
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-