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