public interface BinaryRequest extends CouchbaseRequest
BinaryRequest
s.Modifier and Type | Method and Description |
---|---|
boolean |
hasSeenNotMyVbucket()
Returns true if this operation has been rejected at least once because of a KV not my vbucket operation.
|
String |
key()
The key of the document.
|
byte[] |
keyBytes()
The raw byte representation of the key.
|
int |
opaque()
A opaque value representing this request.
|
short |
partition()
The partition (vbucket) to use for this request.
|
BinaryRequest |
partition(short id)
Set the partition ID.
|
void |
sawNotMyVbucket()
This method should be called if during response parsing, a NMVB response got returned from the server.
|
bucket, complete, dispatchHostname, dispatchHostname, emit, fail, incrementRetryCount, isActive, lastLocalId, lastLocalId, lastLocalSocket, lastLocalSocket, lastRemoteSocket, lastRemoteSocket, maxRetryDuration, maxRetryDuration, observable, operationId, password, retryAfter, retryAfter, retryCount, retryDelay, retryDelay, span, span, subscriber, succeed, username
creationTime
String key()
byte[] keyBytes()
short partition()
BinaryRequest partition(short id)
id
- the id of the partition.BinaryRequest
for proper chaining.int opaque()
boolean hasSeenNotMyVbucket()
void sawNotMyVbucket()
Copyright © 2021 Couchbase, Inc.. All rights reserved.