@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, partition
bucket, creationTime, dispatchHostname, dispatchHostname, incrementRetryCount, isActive, maxRetryDuration, maxRetryDuration, observable, password, retryAfter, retryAfter, retryCount, retryDelay, retryDelay, subscriber, toString, username
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
bucket, dispatchHostname, dispatchHostname, incrementRetryCount, isActive, maxRetryDuration, maxRetryDuration, observable, password, retryAfter, retryAfter, retryCount, retryDelay, retryDelay, subscriber, username
creationTime
public GetAllMutationTokensRequest(NetworkAddress hostname, String bucket)
public GetAllMutationTokensRequest(GetAllMutationTokensRequest.PartitionState partitionState, NetworkAddress hostname, String bucket)
public GetAllMutationTokensRequest.PartitionState partitionState()
public NetworkAddress 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.