Enum Class SessionClosedReason
- All Implemented Interfaces:
Serializable, Comparable<SessionClosedReason>, Constable
-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionNode was removed from the gridNode was restartedSession was closed normally via QUIT command from clientSession timed out due to inactivity -
Method Summary
Modifier and TypeMethodDescriptionstatic SessionClosedReasonReturns the enum constant of this class with the specified name.static SessionClosedReason[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
QUIT_COMMAND
Session was closed normally via QUIT command from client -
TIMEOUT
Session timed out due to inactivity -
NODE_REMOVED
Node was removed from the grid -
NODE_RESTARTED
Node was restarted
-
-
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
-
getReasonText
-