|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<CitrusleafClient.ClResultCode>
net.citrusleaf.CitrusleafClient.ClResultCode
public static enum CitrusleafClient.ClResultCode
Database operation result codes.
Enum Constant Summary | |
---|---|
BIN_EXISTS_ERROR
On create-only (write unique) operations on a bin that already exists. |
|
BIN_TYPE_ERROR
Operation is not supported with configured bin type (single-bin or multi-bin). |
|
CLIENT_ERROR
Memory or other client fault. |
|
CLUSTER_KEY_MISMATCH
Expected cluster ID was not received. |
|
GENERATION_ERROR
On modifying a record with unexpected generation. |
|
KEY_BUSY
Too many concurrent operations on the same record. |
|
KEY_EXISTS_ERROR
On create-only (write unique) operations on a record that already exists. |
|
KEY_NOT_FOUND_ERROR
On retrieving, touching or replacing a record that doesn't exist. |
|
NO_XDS
XDS product is not available. |
|
NOT_SET
Initial "empty" value, operation has not started. |
|
OK
Operation was successful. |
|
PARAMETER_ERROR
Bad parameter(s) were passed in database operation call. |
|
RECORD_TOO_BIG
Record size exceeds limit. |
|
SERIALIZE_ERROR
Object could not be serialized. |
|
SERVER_ERROR
Unknown server failure. |
|
SERVER_MEM_ERROR
Server has run out of memory. |
|
SERVER_NOT_AVAILABLE
Server is not accepting requests. |
|
TIMEOUT
Operation timed out. |
Method Summary | |
---|---|
static CitrusleafClient.ClResultCode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static CitrusleafClient.ClResultCode[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final CitrusleafClient.ClResultCode OK
public static final CitrusleafClient.ClResultCode NOT_SET
public static final CitrusleafClient.ClResultCode SERVER_ERROR
public static final CitrusleafClient.ClResultCode TIMEOUT
public static final CitrusleafClient.ClResultCode CLIENT_ERROR
public static final CitrusleafClient.ClResultCode KEY_NOT_FOUND_ERROR
public static final CitrusleafClient.ClResultCode GENERATION_ERROR
public static final CitrusleafClient.ClResultCode PARAMETER_ERROR
public static final CitrusleafClient.ClResultCode KEY_EXISTS_ERROR
public static final CitrusleafClient.ClResultCode BIN_EXISTS_ERROR
public static final CitrusleafClient.ClResultCode SERIALIZE_ERROR
public static final CitrusleafClient.ClResultCode CLUSTER_KEY_MISMATCH
public static final CitrusleafClient.ClResultCode SERVER_MEM_ERROR
public static final CitrusleafClient.ClResultCode NO_XDS
public static final CitrusleafClient.ClResultCode SERVER_NOT_AVAILABLE
public static final CitrusleafClient.ClResultCode BIN_TYPE_ERROR
public static final CitrusleafClient.ClResultCode RECORD_TOO_BIG
public static final CitrusleafClient.ClResultCode KEY_BUSY
Method Detail |
---|
public static CitrusleafClient.ClResultCode[] values()
for (CitrusleafClient.ClResultCode c : CitrusleafClient.ClResultCode.values()) System.out.println(c);
public static CitrusleafClient.ClResultCode valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.
java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified name
java.lang.NullPointerException
- if the argument is null
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |