public abstract class AbstractKeyValueResponse extends AbstractCouchbaseResponse implements BinaryResponse
Modifier | Constructor and Description |
---|---|
protected |
AbstractKeyValueResponse(ResponseStatus status,
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) |
String |
toString() |
creationTime, request, status
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
request, status
creationTime
protected AbstractKeyValueResponse(ResponseStatus status, String bucket, ByteBuf content, CouchbaseRequest request)
public ByteBuf content()
BinaryResponse
Contains the content of the response, potentially null or empty.
content
in interface BinaryResponse
public String bucket()
BinaryResponse
The name of the bucket where this response is coming from.
bucket
in interface BinaryResponse
public int refCnt()
refCnt
in interface ReferenceCounted
public BinaryResponse retain()
retain
in interface ReferenceCounted
public BinaryResponse retain(int increment)
retain
in interface ReferenceCounted
public boolean release()
release
in interface ReferenceCounted
public boolean release(int decrement)
release
in interface ReferenceCounted
public String toString()
toString
in class AbstractCouchbaseResponse
Copyright © 2014 Couchbase, Inc.