| Package | Description |
|---|---|
| com.couchbase.client.dcp | |
| com.couchbase.client.dcp.state |
| Modifier and Type | Method and Description |
|---|---|
reactor.core.publisher.Mono<Void> |
Client.recoverOrInitializeState(StateFormat format,
byte[] persistedState,
StreamFrom from,
StreamTo to)
Recovers or initializes the
SessionState. |
reactor.core.publisher.Mono<Void> |
Client.recoverState(StateFormat format,
byte[] persistedState)
Initializes the
SessionState from a previous snapshot with specific state information. |
| Modifier and Type | Method and Description |
|---|---|
static StateFormat |
StateFormat.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static StateFormat[] |
StateFormat.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
byte[] |
SessionState.export(StateFormat format)
Export the
PartitionState into the desired format. |
Copyright © 2021 Couchbase, Inc.. All rights reserved.