public static enum MemcacheProtocol.Status extends Enum<MemcacheProtocol.Status>
Enum Constant and Description |
---|
ACCESS_ERROR
Access problem.
|
AUTH_ERROR
Authentication error.
|
DURABILITY_IMPOSSIBLE
Valid request, but given durability requirements are impossible to achieve.
|
DURABILITY_INVALID_LEVEL
Invalid request.
|
EXISTS
The key exists in the cluster (with another CAS value).
|
INTERNAL_SERVER_ERROR
A server-internal error has been reported.
|
INVALID_REQUEST
Invalid request sent.
|
LOCKED
Resource is locked.
|
NO_BUCKET
No bucket selected.
|
NOT_FOUND
Entity not found.
|
NOT_INITIALIZED
The server/kv engine is not initialized yet.
|
NOT_MY_VBUCKET
Not my vbucket.
|
NOT_STORED
Not stored for some reason.
|
NOT_SUPPORTED
Not supported.
|
OUT_OF_MEMORY
The server is out of memory.
|
SERVER_BUSY
The server is busy for some reason.
|
SUBDOC_DELTA_RANGE
The operation would result in a number outside the valid range
|
SUBDOC_DOC_NOT_JSON
The existing document is not valid JSON
|
SUBDOC_DOC_TOO_DEEP
The document has too many levels to parse
|
SUBDOC_INVALID_COMBO
An invalid combination of commands was specified
|
SUBDOC_INVALID_XATTR_ORDER
Invalid ordering of the extended attributes.
|
SUBDOC_MULTI_PATH_FAILURE
Specified key was successfully found, but one or more path operations failed
|
SUBDOC_MULTI_PATH_FAILURE_DELETED
The subdoc operation found the deleted document, but one or more path operations failed.
|
SUBDOC_NUM_RANGE
The existing number is out of the valid range for arithmetic operations
|
SUBDOC_PATH_EXISTS
The requested operation requires the path to not already exist, but it exists
|
SUBDOC_PATH_INVALID
The path's syntax was incorrect
|
SUBDOC_PATH_MISMATCH
One of path components treats a non-dictionary as a dictionary, or a non-array as an array, or value the path points to is not a number
|
SUBDOC_PATH_NOT_FOUND
The provided path does not exist in the document
|
SUBDOC_PATH_TOO_BIG
The path provided is too large: either the string is too long, or it contains too many components
|
SUBDOC_SUCCESS_DELETED_DOCUMENT
The subdoc operation completed successfully on the deleted document
|
SUBDOC_VALUE_CANTINSERT
The value provided will invalidate the JSON if inserted
|
SUBDOC_VALUE_TOO_DEEP
Inserting the value would cause the document to be too deep
|
SUBDOC_XATTR_CANNOT_MODIFY_VATTR
Cannot modify virtual attribute.
|
SUBDOC_XATTR_INVALID_FLAG_COMBO
An invalid combination of operationSpecified key was successfully found, but one or more path operations faileds, using macros when not using extended attributes
|
SUBDOC_XATTR_INVALID_KEY_COMBO
Only single xattr key may be accessed at the same time
|
SUBDOC_XATTR_UNKNOWN_MACRO
The server has no knowledge of the requested macro
|
SUBDOC_XATTR_UNKNOWN_VATTR
Unknown virtual attribute.
|
SUCCESS
Successful message.
|
SYNC_WRITE_AMBIGUOUS
The SyncWrite request has not completed in the specified time and has ambiguous result.
|
SYNC_WRITE_IN_PROGRESS
Returned if an attempt is made to mutate a key which already has a SyncWrite pending.
|
SYNC_WRITE_RE_COMMIT_IN_PROGRESS
Returned if the requested key has a SyncWrite which is being re-committed.
|
TEMPORARY_FAILURE
The server could temporarily not fulfill the requrst.
|
TOO_BIG
Resource too big.
|
UNKNOWN_COLLECTION
The collection ID provided is unknown, maybe it changed or got dropped.
|
UNKNOWN_COMMAND
Unknown command.
|
Modifier and Type | Method and Description |
---|---|
short |
status()
Returns the status code for the status enum.
|
static MemcacheProtocol.Status |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MemcacheProtocol.Status[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MemcacheProtocol.Status SUCCESS
public static final MemcacheProtocol.Status NOT_FOUND
public static final MemcacheProtocol.Status EXISTS
public static final MemcacheProtocol.Status TOO_BIG
public static final MemcacheProtocol.Status INVALID_REQUEST
public static final MemcacheProtocol.Status NOT_STORED
public static final MemcacheProtocol.Status NOT_MY_VBUCKET
public static final MemcacheProtocol.Status NO_BUCKET
public static final MemcacheProtocol.Status LOCKED
public static final MemcacheProtocol.Status AUTH_ERROR
public static final MemcacheProtocol.Status ACCESS_ERROR
public static final MemcacheProtocol.Status NOT_INITIALIZED
public static final MemcacheProtocol.Status INTERNAL_SERVER_ERROR
public static final MemcacheProtocol.Status TEMPORARY_FAILURE
public static final MemcacheProtocol.Status SERVER_BUSY
public static final MemcacheProtocol.Status UNKNOWN_COMMAND
public static final MemcacheProtocol.Status OUT_OF_MEMORY
public static final MemcacheProtocol.Status NOT_SUPPORTED
public static final MemcacheProtocol.Status SUBDOC_PATH_NOT_FOUND
public static final MemcacheProtocol.Status SUBDOC_PATH_MISMATCH
public static final MemcacheProtocol.Status SUBDOC_PATH_INVALID
public static final MemcacheProtocol.Status SUBDOC_PATH_TOO_BIG
public static final MemcacheProtocol.Status SUBDOC_DOC_TOO_DEEP
public static final MemcacheProtocol.Status SUBDOC_VALUE_CANTINSERT
public static final MemcacheProtocol.Status SUBDOC_DOC_NOT_JSON
public static final MemcacheProtocol.Status SUBDOC_NUM_RANGE
public static final MemcacheProtocol.Status SUBDOC_DELTA_RANGE
public static final MemcacheProtocol.Status SUBDOC_PATH_EXISTS
public static final MemcacheProtocol.Status SUBDOC_VALUE_TOO_DEEP
public static final MemcacheProtocol.Status SUBDOC_INVALID_COMBO
public static final MemcacheProtocol.Status SUBDOC_MULTI_PATH_FAILURE
public static final MemcacheProtocol.Status SUBDOC_XATTR_INVALID_FLAG_COMBO
public static final MemcacheProtocol.Status SUBDOC_XATTR_INVALID_KEY_COMBO
public static final MemcacheProtocol.Status SUBDOC_XATTR_UNKNOWN_MACRO
public static final MemcacheProtocol.Status SUBDOC_XATTR_UNKNOWN_VATTR
public static final MemcacheProtocol.Status SUBDOC_XATTR_CANNOT_MODIFY_VATTR
public static final MemcacheProtocol.Status SUBDOC_SUCCESS_DELETED_DOCUMENT
public static final MemcacheProtocol.Status SUBDOC_MULTI_PATH_FAILURE_DELETED
public static final MemcacheProtocol.Status SUBDOC_INVALID_XATTR_ORDER
public static final MemcacheProtocol.Status DURABILITY_INVALID_LEVEL
public static final MemcacheProtocol.Status DURABILITY_IMPOSSIBLE
because insufficient configured replicas are connected. Assuming level=majority and C=number of configured nodes, durability becomes impossible if floor((C + 1) / 2) nodes or greater are offline.
public static final MemcacheProtocol.Status SYNC_WRITE_IN_PROGRESS
Transient, the client would typically retry (possibly with backoff). Similar to ELOCKED.
public static final MemcacheProtocol.Status SYNC_WRITE_RE_COMMIT_IN_PROGRESS
Transient, the client would typically retry (possibly with backoff). Similar to ELOCKED.
public static final MemcacheProtocol.Status SYNC_WRITE_AMBIGUOUS
it may Succeed or Fail; but the final value is not yet known.
public static final MemcacheProtocol.Status UNKNOWN_COLLECTION
public static MemcacheProtocol.Status[] values()
for (MemcacheProtocol.Status c : MemcacheProtocol.Status.values()) System.out.println(c);
public static MemcacheProtocol.Status 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()
Copyright © 2020 Couchbase, Inc.. All rights reserved.