@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,
String bucket) |
GetAllMutationTokensRequest(String bucket) |
| Modifier and Type | Method and Description |
|---|---|
short |
partition()
The partition (vbucket) to use for this request.
|
GetAllMutationTokensRequest.PartitionState |
partitionState() |
key, keyBytes, opaque, partitionbucket, creationTime, incrementRetryCount, observable, password, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitbucket, incrementRetryCount, observable, passwordcreationTimepublic GetAllMutationTokensRequest(String bucket)
public GetAllMutationTokensRequest(GetAllMutationTokensRequest.PartitionState partitionState, String bucket)
public GetAllMutationTokensRequest.PartitionState partitionState()
public short partition()
BinaryRequestThe partition (vbucket) to use for this request.
partition in interface BinaryRequestpartition in class AbstractKeyValueRequestCopyright © 2016 Couchbase, Inc.. All rights reserved.