| Package | Description |
|---|---|
| com.couchbase.client.dcp.state |
| Modifier and Type | Method and Description |
|---|---|
static PartitionState |
PartitionState.fromOffset(StreamOffset offset) |
PartitionState |
SessionState.get(int partition)
Accessor into the partition state, only use this if really needed.
|
| Modifier and Type | Method and Description |
|---|---|
void |
SessionState.set(int partition,
PartitionState partitionState)
Accessor to set/override the current partition state, only use this if really needed.
|
| Modifier and Type | Method and Description |
|---|---|
void |
SessionState.foreachPartition(BiConsumer<Integer,PartitionState> consumer) |
void |
SessionState.foreachPartition(Consumer<PartitionState> action)
Provides an iterator over all partitions, calling the callback for each one.
|
Copyright © 2021 Couchbase, Inc.. All rights reserved.