|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.aerospike.client.ResultCode
public final class ResultCode
Database operation error codes.
Field Summary | |
---|---|
static int |
BIN_EXISTS_ERROR
On create-only (write unique) operations on a bin that already exists. |
static int |
BIN_TYPE_ERROR
Operation is not supported with configured bin type (single-bin or multi-bin). |
static int |
CLUSTER_KEY_MISMATCH
Expected cluster ID was not received. |
static int |
COMMAND_REJECTED
Asynchronous max concurrent database commands have been exceeded and therefore rejected. |
static int |
GENERATION_ERROR
On modifying a record with unexpected generation. |
static int |
INVALID_NODE_ERROR
Chosen node is not currently active. |
static int |
KEY_BUSY
Too many concurrent operations on the same record. |
static int |
KEY_EXISTS_ERROR
On create-only (write unique) operations on a record that already exists. |
static int |
KEY_NOT_FOUND_ERROR
On retrieving, touching or replacing a record that doesn't exist. |
static int |
NO_XDS
XDS product is not available. |
static int |
OK
Operation was successful. |
static int |
PARAMETER_ERROR
Bad parameter(s) were passed in database operation call. |
static int |
PARSE_ERROR
Client serialization error. |
static int |
QUERY_TERMINATED
Query was terminated by user. |
static int |
RECORD_TOO_BIG
Record size exceeds limit. |
static int |
SCAN_TERMINATED
Scan was terminated by user. |
static int |
SERIALIZE_ERROR
Client serialization error. |
static int |
SERVER_ERROR
Unknown server failure. |
static int |
SERVER_MEM_ERROR
Server has run out of memory. |
static int |
SERVER_NOT_AVAILABLE
Server is not accepting requests. |
static int |
TIMEOUT
Client or server has timed out. |
Constructor Summary | |
---|---|
ResultCode()
|
Method Summary | |
---|---|
static java.lang.String |
getResultString(int resultCode)
Return result code as a string. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int COMMAND_REJECTED
public static final int QUERY_TERMINATED
public static final int SCAN_TERMINATED
public static final int INVALID_NODE_ERROR
public static final int PARSE_ERROR
public static final int SERIALIZE_ERROR
public static final int OK
public static final int SERVER_ERROR
public static final int KEY_NOT_FOUND_ERROR
public static final int GENERATION_ERROR
public static final int PARAMETER_ERROR
public static final int KEY_EXISTS_ERROR
public static final int BIN_EXISTS_ERROR
public static final int CLUSTER_KEY_MISMATCH
public static final int SERVER_MEM_ERROR
public static final int TIMEOUT
public static final int NO_XDS
public static final int SERVER_NOT_AVAILABLE
public static final int BIN_TYPE_ERROR
public static final int RECORD_TOO_BIG
public static final int KEY_BUSY
Constructor Detail |
---|
public ResultCode()
Method Detail |
---|
public static java.lang.String getResultString(int resultCode)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |