public abstract class AbstractKeyValueResponse extends AbstractCouchbaseResponse implements BinaryResponse
| Modifier | Constructor and Description |
|---|---|
protected |
AbstractKeyValueResponse(ResponseStatus status,
short serverStatusCode,
String bucket,
ByteBuf content,
CouchbaseRequest request) |
| Modifier and Type | Method and Description |
|---|---|
String |
bucket()
The name of the bucket where this response is coming from.
|
ByteBuf |
content()
Contains the content of the response, potentially null or empty.
|
int |
refCnt() |
boolean |
release() |
boolean |
release(int decrement) |
BinaryResponse |
retain() |
BinaryResponse |
retain(int increment) |
short |
serverStatusCode() |
String |
toString() |
creationTime, request, statusclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitrequest, statuscreationTimeprotected AbstractKeyValueResponse(ResponseStatus status, short serverStatusCode, String bucket, ByteBuf content, CouchbaseRequest request)
public ByteBuf content()
BinaryResponseContains the content of the response, potentially null or empty.
content in interface BinaryResponsepublic String bucket()
BinaryResponseThe name of the bucket where this response is coming from.
bucket in interface BinaryResponsepublic short serverStatusCode()
serverStatusCode in interface BinaryResponsepublic int refCnt()
refCnt in interface ReferenceCountedpublic BinaryResponse retain()
retain in interface ReferenceCountedpublic BinaryResponse retain(int increment)
retain in interface ReferenceCountedpublic boolean release()
release in interface ReferenceCountedpublic boolean release(int decrement)
release in interface ReferenceCountedpublic String toString()
toString in class AbstractCouchbaseResponseCopyright © 2016 Couchbase, Inc.. All rights reserved.