com.hazelcast.ascii
Enum TextCommandConstants.TextCommandType

java.lang.Object
  extended by java.lang.Enum<TextCommandConstants.TextCommandType>
      extended by com.hazelcast.ascii.TextCommandConstants.TextCommandType
All Implemented Interfaces:
Serializable, Comparable<TextCommandConstants.TextCommandType>
Enclosing class:
TextCommandConstants

public static enum TextCommandConstants.TextCommandType
extends Enum<TextCommandConstants.TextCommandType>


Enum Constant Summary
ADD
           
APPEND
           
DECREMENT
           
DELETE
           
ERROR_CLIENT
           
ERROR_SERVER
           
GET
           
GET_END
           
GETS
           
HTTP_DELETE
           
HTTP_GET
           
HTTP_POST
           
HTTP_PUT
           
INCREMENT
           
NO_OP
           
PARTIAL_GET
           
PREPEND
           
QUIT
           
REPLACE
           
SET
           
STATS
           
STOP
           
TOUCH
           
UNKNOWN
           
VERSION
           
 
Method Summary
 byte getValue()
           
static TextCommandConstants.TextCommandType valueOf(String name)
          Returns the enum constant of this type with the specified name.
static TextCommandConstants.TextCommandType[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

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
Method Detail

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.