Enum Class TopologyChange.Type
- All Implemented Interfaces:
Serializable,Comparable<TopologyChange.Type>,Constable
- Enclosing class:
TopologyChange
The enumeration referencing the possible
TopologyChange types.-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionA change type signalling a command handler was added.A change type signalling a command handler was removed.A change type signalling a query handler was added.A change type signalling a query handler was removed.A change type signalling the connection broke down, willingly or not, resulting in a complete reset. -
Method Summary
Modifier and TypeMethodDescriptionstatic TopologyChange.TypeReturns the enum constant of this class with the specified name.static TopologyChange.Type[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
COMMAND_HANDLER_ADDED
A change type signalling a command handler was added. -
COMMAND_HANDLER_REMOVED
A change type signalling a command handler was removed. -
QUERY_HANDLER_ADDED
A change type signalling a query handler was added. -
QUERY_HANDLER_REMOVED
A change type signalling a query handler was removed. -
RESET
A change type signalling the connection broke down, willingly or not, resulting in a complete reset.
-
-
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
-