@Internal public interface StateSnapshotRestore
Modifier and Type | Method and Description |
---|---|
StateSnapshotKeyGroupReader |
keyGroupReader(int readVersionHint)
This method returns a
StateSnapshotKeyGroupReader that can be used to restore the
state on a per-key-group basis. |
StateSnapshot |
stateSnapshot()
Returns a snapshot of the state.
|
@Nonnull StateSnapshot stateSnapshot()
@Nonnull StateSnapshotKeyGroupReader keyGroupReader(int readVersionHint)
StateSnapshotKeyGroupReader
that can be used to restore the
state on a per-key-group basis. This method tries to return a reader for the given version
hint.readVersionHint
- the required version of the state to read.Copyright © 2014–2021 The Apache Software Foundation. All rights reserved.