Enum LateralCommand
- All Implemented Interfaces:
Serializable
,Comparable<LateralCommand>
Enumeration of the available lateral commands
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe command for disposing the cache.Command to return an object.Command to get all keysCommand to return an object.The command for removesThe command instructing us to remove allThe command for updates -
Method Summary
Modifier and TypeMethodDescriptionstatic LateralCommand
Returns the enum constant of this type with the specified name.static LateralCommand[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
UPDATE
The command for updates -
REMOVE
The command for removes -
REMOVEALL
The command instructing us to remove all -
DISPOSE
The command for disposing the cache. -
GET
Command to return an object. -
GET_MATCHING
Command to return an object. -
GET_KEYSET
Command to get all keys
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified nameNullPointerException
- if the argument is null
-