| Package | Description |
|---|---|
| io.zeebe.logstreams.impl.snapshot.fs | |
| io.zeebe.logstreams.spi | |
| io.zeebe.logstreams.state |
| Modifier and Type | Method and Description |
|---|---|
StateSnapshotMetadata |
FsSnapshotController.recover(long commitPosition,
int term,
java.util.function.Predicate<StateSnapshotMetadata> filter) |
| Modifier and Type | Method and Description |
|---|---|
void |
FsSnapshotController.takeSnapshot(StateSnapshotMetadata metadata) |
void |
FsSnapshotController.takeSnapshot(StateSnapshotMetadata metadata,
long commitPosition) |
| Modifier and Type | Method and Description |
|---|---|
void |
FsSnapshotController.purgeAll(java.util.function.Predicate<StateSnapshotMetadata> filter) |
StateSnapshotMetadata |
FsSnapshotController.recover(long commitPosition,
int term,
java.util.function.Predicate<StateSnapshotMetadata> filter) |
| Modifier and Type | Method and Description |
|---|---|
StateSnapshotMetadata |
SnapshotController.recover(long commitPosition,
int term,
java.util.function.Predicate<StateSnapshotMetadata> filter)
Recovers the state from the latest snapshot and returns the corresponding metadata.
|
| Modifier and Type | Method and Description |
|---|---|
default void |
SnapshotController.purgeAllExcept(StateSnapshotMetadata metadata)
Purges old and invalid snapshots.
|
void |
SnapshotController.takeSnapshot(StateSnapshotMetadata metadata)
Takes a snapshot based on the given metadata: - last successful processed event - last written
event (regardless of whether or not it is committed) - term of the last written event
|
default void |
SnapshotController.takeSnapshot(StateSnapshotMetadata metadata,
long commitPosition)
Temporary addition to add commitPosition to parameters, will be removed since it's only useful
for FsSnapshotController.
|
| Modifier and Type | Method and Description |
|---|---|
void |
SnapshotController.purgeAll(java.util.function.Predicate<StateSnapshotMetadata> matcher)
Purges all snapshots which return true for the given matcher.
|
StateSnapshotMetadata |
SnapshotController.recover(long commitPosition,
int term,
java.util.function.Predicate<StateSnapshotMetadata> filter)
Recovers the state from the latest snapshot and returns the corresponding metadata.
|
| Modifier and Type | Method and Description |
|---|---|
static StateSnapshotMetadata |
StateSnapshotMetadata.createInitial(int term) |
StateSnapshotMetadata |
StateStorage.getSnapshotMetadata(File folder) |
StateSnapshotMetadata |
StateSnapshotController.recover(long commitPosition,
int term,
java.util.function.Predicate<StateSnapshotMetadata> filter) |
| Modifier and Type | Method and Description |
|---|---|
List<StateSnapshotMetadata> |
StateStorage.list() |
List<StateSnapshotMetadata> |
StateStorage.list(java.util.function.Predicate<StateSnapshotMetadata> filter) |
List<StateSnapshotMetadata> |
StateStorage.listRecoverable(long lastSuccessfulProcessedEventPosition) |
| Modifier and Type | Method and Description |
|---|---|
int |
StateSnapshotMetadata.compareTo(StateSnapshotMetadata o) |
File |
StateStorage.getSnapshotDirectoryFor(StateSnapshotMetadata metadata) |
void |
StateSnapshotController.takeSnapshot(StateSnapshotMetadata metadata) |
| Modifier and Type | Method and Description |
|---|---|
List<StateSnapshotMetadata> |
StateStorage.list(java.util.function.Predicate<StateSnapshotMetadata> filter) |
void |
StateSnapshotController.purgeAll(java.util.function.Predicate<StateSnapshotMetadata> matcher) |
StateSnapshotMetadata |
StateSnapshotController.recover(long commitPosition,
int term,
java.util.function.Predicate<StateSnapshotMetadata> filter) |
Copyright © 2017–2018 camunda services GmbH. All rights reserved.