public abstract class AbstractCouchbaseResponse extends Object implements CouchbaseResponse
The default representation of a CouchbaseResponse
.
Modifier | Constructor and Description |
---|---|
protected |
AbstractCouchbaseResponse(ResponseStatus status,
CouchbaseRequest request)
Sets the required properties for the response.
|
Modifier and Type | Method and Description |
---|---|
long |
creationTime()
Returns the time in nanoseconds when the message was created.
|
CouchbaseRequest |
request()
Stub method implementation which needs to be overriden by all responses that support cloning.
|
ResponseStatus |
status()
The typesafe status of the response.
|
String |
toString() |
protected AbstractCouchbaseResponse(ResponseStatus status, CouchbaseRequest request)
Sets the required properties for the response.
status
- the status of the response.public ResponseStatus status()
CouchbaseResponse
The typesafe status of the response.
status
in interface CouchbaseResponse
public CouchbaseRequest request()
Stub method implementation which needs to be overriden by all responses that support cloning.
request
in interface CouchbaseResponse
public long creationTime()
CouchbaseMessage
Returns the time in nanoseconds when the message was created.
creationTime
in interface CouchbaseMessage
Copyright © 2014 Couchbase, Inc.