@InterfaceStability.Experimental @InterfaceAudience.Public public class SimpleSubdocResponse extends AbstractKeyValueResponse
A general-purpose response suitable for most “simple” sub-document operations (BinarySubdocRequest
and BinarySubdocMutationRequest
), as opposed to “multi-specification” sub-document operations.
Constructor and Description |
---|
SimpleSubdocResponse(ResponseStatus status,
short serverStatusCode,
String bucket,
ByteBuf content,
BinarySubdocRequest request,
long cas,
MutationToken mutationToken) |
Modifier and Type | Method and Description |
---|---|
long |
cas() |
MutationToken |
mutationToken() |
BinarySubdocRequest |
request()
Stub method implementation which needs to be overriden by all responses that support cloning.
|
bucket, content, refCnt, release, release, retain, retain, serverStatusCode, toString
creationTime, status
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
status
creationTime
public SimpleSubdocResponse(ResponseStatus status, short serverStatusCode, String bucket, ByteBuf content, BinarySubdocRequest request, long cas, MutationToken mutationToken)
public BinarySubdocRequest request()
AbstractCouchbaseResponse
Stub method implementation which needs to be overriden by all responses that support cloning.
request
in interface CouchbaseResponse
request
in class AbstractCouchbaseResponse
public long cas()
public MutationToken mutationToken()
MutationToken
corresponding to a mutation of the document, if it was mutated and tokens are activated.Copyright © 2016 Couchbase, Inc.. All rights reserved.