com.hazelcast.ascii
Enum TextCommandConstants.TextCommandType
java.lang.Object
java.lang.Enum<TextCommandConstants.TextCommandType>
com.hazelcast.ascii.TextCommandConstants.TextCommandType
- All Implemented Interfaces:
- Serializable, Comparable<TextCommandConstants.TextCommandType>
- Enclosing class:
- TextCommandConstants
public static enum TextCommandConstants.TextCommandType
- extends Enum<TextCommandConstants.TextCommandType>
GET
public static final TextCommandConstants.TextCommandType GET
PARTIAL_GET
public static final TextCommandConstants.TextCommandType PARTIAL_GET
GETS
public static final TextCommandConstants.TextCommandType GETS
SET
public static final TextCommandConstants.TextCommandType SET
APPEND
public static final TextCommandConstants.TextCommandType APPEND
PREPEND
public static final TextCommandConstants.TextCommandType PREPEND
ADD
public static final TextCommandConstants.TextCommandType ADD
REPLACE
public static final TextCommandConstants.TextCommandType REPLACE
DELETE
public static final TextCommandConstants.TextCommandType DELETE
QUIT
public static final TextCommandConstants.TextCommandType QUIT
STATS
public static final TextCommandConstants.TextCommandType STATS
GET_END
public static final TextCommandConstants.TextCommandType GET_END
ERROR_CLIENT
public static final TextCommandConstants.TextCommandType ERROR_CLIENT
ERROR_SERVER
public static final TextCommandConstants.TextCommandType ERROR_SERVER
UNKNOWN
public static final TextCommandConstants.TextCommandType UNKNOWN
VERSION
public static final TextCommandConstants.TextCommandType VERSION
TOUCH
public static final TextCommandConstants.TextCommandType TOUCH
INCREMENT
public static final TextCommandConstants.TextCommandType INCREMENT
DECREMENT
public static final TextCommandConstants.TextCommandType DECREMENT
HTTP_GET
public static final TextCommandConstants.TextCommandType HTTP_GET
HTTP_POST
public static final TextCommandConstants.TextCommandType HTTP_POST
HTTP_PUT
public static final TextCommandConstants.TextCommandType HTTP_PUT
HTTP_DELETE
public static final TextCommandConstants.TextCommandType HTTP_DELETE
NO_OP
public static final TextCommandConstants.TextCommandType NO_OP
STOP
public static final TextCommandConstants.TextCommandType STOP
values
public static TextCommandConstants.TextCommandType[] values()
- Returns an array containing the constants of this enum type, in
the order they are declared. This method may be used to iterate
over the constants as follows:
for (TextCommandConstants.TextCommandType c : TextCommandConstants.TextCommandType.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static TextCommandConstants.TextCommandType valueOf(String name)
- 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 name
NullPointerException
- if the argument is null
getValue
public byte getValue()
Copyright © 2015 Hazelcast, Inc.. All Rights Reserved.