@InterfaceStability.Experimental public class GetAllMutationTokensRequest extends AbstractKeyValueRequest
Get the current high sequence numbers one could initialize streams for all partitions that are located on the server, or use in ObserveViaMutationToken.
You may retrict the returned values to a certain vBucket state. The state is supplied as an extra field and is fully optional.
| Modifier and Type | Class and Description |
|---|---|
static class |
GetAllMutationTokensRequest.PartitionState |
DEFAULT_PARTITION| Constructor and Description |
|---|
GetAllMutationTokensRequest(GetAllMutationTokensRequest.PartitionState partitionState,
NetworkAddress hostname,
String bucket) |
GetAllMutationTokensRequest(NetworkAddress hostname,
String bucket) |
| Modifier and Type | Method and Description |
|---|---|
NetworkAddress |
hostname() |
short |
partition()
The partition (vbucket) to use for this request.
|
GetAllMutationTokensRequest.PartitionState |
partitionState() |
key, keyBytes, opaque, partitionbucket, creationTime, incrementRetryCount, maxRetryDuration, maxRetryDuration, observable, password, retryAfter, retryAfter, retryCount, retryDelay, retryDelay, toString, usernameclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitbucket, incrementRetryCount, maxRetryDuration, maxRetryDuration, observable, password, retryAfter, retryAfter, retryCount, retryDelay, retryDelay, usernamecreationTimepublic GetAllMutationTokensRequest(NetworkAddress hostname, String bucket)
public GetAllMutationTokensRequest(GetAllMutationTokensRequest.PartitionState partitionState, NetworkAddress hostname, String bucket)
public GetAllMutationTokensRequest.PartitionState partitionState()
public NetworkAddress hostname()
public short partition()
BinaryRequestThe partition (vbucket) to use for this request.
partition in interface BinaryRequestpartition in class AbstractKeyValueRequestCopyright © 2017 Couchbase, Inc.. All rights reserved.