@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, toStringcreationTime, statusclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitstatuscreationTimepublic SimpleSubdocResponse(ResponseStatus status, short serverStatusCode, String bucket, ByteBuf content, BinarySubdocRequest request, long cas, MutationToken mutationToken)
public BinarySubdocRequest request()
AbstractCouchbaseResponseStub method implementation which needs to be overriden by all responses that support cloning.
request in interface CouchbaseResponserequest in class AbstractCouchbaseResponsepublic 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.