org.infinispan.server.memcached
Enum Reply

java.lang.Object
  extended by java.lang.Enum<Reply>
      extended by 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

Enum Constant Summary
CLIENT_ERROR
           
DELETED
           
END
           
ERROR
           
EXISTS
           
NOT_FOUND
           
NOT_STORED
           
OK
           
SERVER_ERROR
           
STAT
           
STORED
           
VALUE
           
VERSION
           
 
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.
 
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

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

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()

Google Analytics

Copyright © 2010 JBoss, a division of Red Hat. All Rights Reserved.