org.infinispan.server.memcached
Enum Reply
java.lang.Object
java.lang.Enum<Reply>
org.infinispan.server.memcached.Reply
- All Implemented Interfaces:
- Serializable, Comparable<Reply>
public enum Reply
- extends Enum<Reply>
StorageReply.
- Since:
- 4.1
- Author:
- Galder ZamarreƱo
Method Summary |
byte[] |
bytes()
|
static Reply |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static Reply[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared. |
STORED
public static final Reply STORED
NOT_STORED
public static final Reply NOT_STORED
EXISTS
public static final Reply EXISTS
NOT_FOUND
public static final Reply NOT_FOUND
DELETED
public static final Reply DELETED
STAT
public static final Reply STAT
VALUE
public static final Reply VALUE
END
public static final Reply END
OK
public static final Reply OK
VERSION
public static final Reply VERSION
ERROR
public static final Reply ERROR
CLIENT_ERROR
public static final Reply CLIENT_ERROR
SERVER_ERROR
public static final Reply SERVER_ERROR
values
public static Reply[] 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 (Reply c : Reply.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static Reply 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
bytes
public byte[] bytes()
Copyright © 2010 JBoss, a division of Red Hat. All Rights Reserved.