@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, partition
bucket, creationTime, incrementRetryCount, observable, password, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
bucket, incrementRetryCount, observable, password
creationTime
public GetAllMutationTokensRequest(String bucket)
public GetAllMutationTokensRequest(GetAllMutationTokensRequest.PartitionState partitionState, String bucket)
public GetAllMutationTokensRequest.PartitionState partitionState()
public short partition()
BinaryRequest
The partition (vbucket) to use for this request.
partition
in interface BinaryRequest
partition
in class AbstractKeyValueRequest
Copyright © 2016 Couchbase, Inc.. All rights reserved.