public enum ResponseStatus extends Enum<ResponseStatus>
| Modifier and Type | Method and Description |
|---|---|
static ResponseStatus |
getResponseStatus(short status) |
String |
message() |
short |
status() |
static ResponseStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ResponseStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ResponseStatus No_Error
public static final ResponseStatus Key_Not_Found
public static final ResponseStatus Key_Exists
public static final ResponseStatus Value_Too_Large
public static final ResponseStatus Invalid_Arguments
public static final ResponseStatus Item_Not_Stored
public static final ResponseStatus Incr_Decr_On_NonNumeric_Value
public static final ResponseStatus VBucket_Belongs_To_Another_Server
public static final ResponseStatus Authentication_Error
public static final ResponseStatus Authentication_Continue
public static final ResponseStatus Authentication_Required
public static final ResponseStatus Further_Authentication_Required
public static final ResponseStatus Unknown_Command
public static final ResponseStatus Out_Of_Memory
public static final ResponseStatus Not_Supported
public static final ResponseStatus Internal_Error
public static final ResponseStatus Busy
public static final ResponseStatus Temporary_Failure
public static ResponseStatus[] values()
for (ResponseStatus c : ResponseStatus.values()) System.out.println(c);
public static ResponseStatus valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant
with the specified nameNullPointerException - if the argument is nullpublic short status()
public String message()
public static ResponseStatus getResponseStatus(short status)
Copyright © 2015 Project Grizzly. All Rights Reserved.