- All Known Implementing Classes:
@Committed @Public public interface BinarySubdocMultiMutationRequest extends BinaryRequest
BinarySubdocRequestthat describes multiple mutations on a single document. The mutations are applied atomically, so they either all succeed or none is applied. Each
MutationCommandcan act on a different path inside the document and be of a different nature. A multi-mutation request can also alter the enclosing document's expiry and flags.
- Simon Baslé
Methods inherited from interface com.couchbase.client.core.message.kv.BinaryRequest
hasSeenNotMyVbucket, key, keyBytes, opaque, partition, partition, sawNotMyVbucket
Methods inherited from interface com.couchbase.client.core.message.CouchbaseRequest
bucket, complete, dispatchHostname, dispatchHostname, emit, fail, incrementRetryCount, isActive, lastLocalId, lastLocalId, lastLocalSocket, lastLocalSocket, lastRemoteSocket, lastRemoteSocket, maxRetryDuration, maxRetryDuration, observable, operationId, password, retryAfter, retryAfter, retryCount, retryDelay, retryDelay, span, span, subscriber, succeed, username
- the expiration (or TTL) to apply to the document along the mutations, 0 for no TTL.
- the CAS to use for the mutations (if needed) or 0L to ignore
- the document flags for the Request
- a list of the
MutationCommanddescribing the multiple mutations to apply.
ByteBufrepresenting the whole list of
commands(). This buffer is to be automatically released once the message has been written on the wire.
- the ByteBuf to serve as a memcached protocol message body.