public interface BinaryResponse extends CouchbaseResponse, ReferenceCounted
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.
|
long |
serverDuration()
Returns the reported server duration, if set.
|
BinaryResponse |
serverDuration(long duration)
Sets the server duration.
|
short |
serverStatusCode() |
request, status, statusDetails, statusDetails
creationTime
ByteBuf content()
String bucket()
short serverStatusCode()
long serverDuration()
BinaryResponse serverDuration(long duration)
duration
- the duration to set.Copyright © 2021 Couchbase, Inc.. All rights reserved.