Enum MemcacheProtocol.Status
java.lang.Object
java.lang.Enum<MemcacheProtocol.Status>
com.couchbase.client.core.io.netty.kv.MemcacheProtocol.Status
- All Implemented Interfaces:
Serializable
,Comparable<MemcacheProtocol.Status>
- Enclosing class:
MemcacheProtocol
-
Enum Constant Summary
Enum ConstantDescriptionAccess problem.Authentication error.Bucket Manifest update could not be applied to vbucket(s).We have a collection's manifest which is from the future.Valid request, but given durability requirements are impossible to achieve.Invalid request.The key exists in the cluster (with another CAS value).A server-internal error has been reported.Invalid request sent.Resource is locked.No bucket selected.No collections manifest has been set on the server.Entity not found.The server/kv engine is not initialized yet.Resource is not locked.Not my vbucket.Not stored for some reason.Not supported.The server is out of memory.When sampling, this error indicates the collection does not have enough keys to satisfy the requested sample size.The scan was cancelled whilst returning data.Scan has reached the end of the range.Scan has not reached the end key; more data maybe available.Rate limited: Max Commands.Rate limited: Max Connections.Rate limited: Network Egress.Rate limited: Network Ingress.The scope contains too much data.The server is busy for some reason.ReviveDocument flag has been used on a document that's already alive.The operation would result in a number outside the valid rangeThe existing document is not valid JSONThe document has too many levels to parseAn invalid combination of commands was specifiedInvalid ordering of the extended attributes.Specified key was successfully found, but one or more path operations failedThe subdoc operation found the deleted document, but one or more path operations failed.The existing number is out of the valid range for arithmetic operationsThe requested operation requires the path to not already exist, but it existsThe path's syntax was incorrectOne 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 numberThe provided path does not exist in the documentThe path provided is too large: either the string is too long, or it contains too many componentsThe subdoc operation completed successfully on the deleted documentThe value provided will invalidate the JSON if insertedInserting the value would cause the document to be too deepCannot modify virtual attribute.An invalid combination of operationSpecified key was successfully found, but one or more path operations faileds, using macros when not using extended attributesOnly single xattr key may be accessed at the same timeThe server has no knowledge of the requested macroUnknown virtual attribute.Successful message.The SyncWrite request has not completed in the specified time and has ambiguous result.Returned if an attempt is made to mutate a key which already has a SyncWrite pending.Returned if the requested key has a SyncWrite which is being re-committed.The server could temporarily not fulfill the requrst.Resource too big.The collection ID provided is unknown, maybe it changed or got dropped.Unknown command.Operation attempted with an unknown scope.The vbuuid as part of the snapshot requirements does not align with the server. -
Method Summary
Modifier and TypeMethodDescriptionstatic MemcacheProtocol.Status
of
(short input) short
status()
Returns the status code for the status enum.static MemcacheProtocol.Status
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.
-
Enum Constant Details
-
SUCCESS
Successful message. -
NOT_FOUND
Entity not found. -
EXISTS
The key exists in the cluster (with another CAS value). -
TOO_BIG
Resource too big. -
INVALID_REQUEST
Invalid request sent. -
NOT_STORED
Not stored for some reason. -
NOT_MY_VBUCKET
Not my vbucket. -
NO_BUCKET
No bucket selected. -
LOCKED
Resource is locked. -
AUTH_ERROR
Authentication error. -
RANGE_ERROR
When sampling, this error indicates the collection does not have enough keys to satisfy the requested sample size. -
ACCESS_ERROR
Access problem. -
NOT_INITIALIZED
The server/kv engine is not initialized yet. -
INTERNAL_SERVER_ERROR
A server-internal error has been reported. -
TEMPORARY_FAILURE
The server could temporarily not fulfill the requrst. -
SERVER_BUSY
The server is busy for some reason. -
UNKNOWN_COMMAND
Unknown command. -
OUT_OF_MEMORY
The server is out of memory. -
NOT_SUPPORTED
Not supported. -
SUBDOC_PATH_NOT_FOUND
The provided path does not exist in the document -
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_INVALID
The path's syntax was incorrect -
SUBDOC_PATH_TOO_BIG
The path provided is too large: either the string is too long, or it contains too many components -
SUBDOC_DOC_TOO_DEEP
The document has too many levels to parse -
SUBDOC_VALUE_CANTINSERT
The value provided will invalidate the JSON if inserted -
SUBDOC_DOC_NOT_JSON
The existing document is not valid JSON -
SUBDOC_NUM_RANGE
The existing number is out of the valid range for arithmetic operations -
SUBDOC_DELTA_RANGE
The operation would result in a number outside the valid range -
SUBDOC_PATH_EXISTS
The requested operation requires the path to not already exist, but it exists -
SUBDOC_VALUE_TOO_DEEP
Inserting the value would cause the document to be too deep -
SUBDOC_INVALID_COMBO
An invalid combination of commands was specified -
SUBDOC_MULTI_PATH_FAILURE
Specified key was successfully found, but one or more path operations failed -
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. -
SUBDOC_XATTR_CANNOT_MODIFY_VATTR
Cannot modify virtual attribute. -
SUBDOC_SUCCESS_DELETED_DOCUMENT
The subdoc operation completed successfully on the deleted document -
SUBDOC_MULTI_PATH_FAILURE_DELETED
The subdoc operation found the deleted document, but one or more path operations failed. -
SUBDOC_INVALID_XATTR_ORDER
Invalid ordering of the extended attributes. -
SUBDOC_CAN_ONLY_REVIVE_DELETED_DOCUMENTS
ReviveDocument flag has been used on a document that's already alive. -
DURABILITY_INVALID_LEVEL
Invalid request. Returned if an invalid durability level is specified. -
DURABILITY_IMPOSSIBLE
Valid request, but given durability requirements are impossible to achieve.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.
-
SYNC_WRITE_IN_PROGRESS
Returned if an attempt is made to mutate a key which already has a SyncWrite pending.Transient, the client would typically retry (possibly with backoff). Similar to ELOCKED.
-
SYNC_WRITE_RE_COMMIT_IN_PROGRESS
Returned if the requested key has a SyncWrite which is being re-committed.Transient, the client would typically retry (possibly with backoff). Similar to ELOCKED.
-
SYNC_WRITE_AMBIGUOUS
The SyncWrite request has not completed in the specified time and has ambiguous result.it may Succeed or Fail; but the final value is not yet known.
-
RANGE_SCAN_CANCELLED
The scan was cancelled whilst returning data. This could be the only status if the cancel was noticed before a key/value was loaded. -
RANGE_SCAN_MORE
Scan has not reached the end key; more data maybe available. Client should issue another range scan continue request. -
RANGE_SCAN_COMPLETE
Scan has reached the end of the range. -
VBUUID_NOT_EQUAL
The vbuuid as part of the snapshot requirements does not align with the server. -
UNKNOWN_COLLECTION
The collection ID provided is unknown, maybe it changed or got dropped. -
NO_COLLECTIONS_MANIFEST
No collections manifest has been set on the server. -
CANNOT_APPLY_COLLECTIONS_MANIFEST
Bucket Manifest update could not be applied to vbucket(s). -
COLLECTIONS_MANIFEST_AHEAD
We have a collection's manifest which is from the future. This means they we have a uid that is greater than the servers. -
UNKNOWN_SCOPE
Operation attempted with an unknown scope. -
RATE_LIMITED_NETWORK_INGRESS
Rate limited: Network Ingress. -
RATE_LIMITED_NETWORK_EGRESS
Rate limited: Network Egress. -
RATE_LIMITED_MAX_CONNECTIONS
Rate limited: Max Connections. -
RATE_LIMITED_MAX_COMMANDS
Rate limited: Max Commands. -
SCOPE_SIZE_LIMIT_EXCEEDED
The scope contains too much data. -
NOT_LOCKED
Resource is not locked.Added in 7.6.0 under MB-58088.
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
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 nameNullPointerException
- if the argument is null
-
status
public short status()Returns the status code for the status enum.- Returns:
- the status code.
-
of
-