protected abstract class RocksDBSnapshotStrategyBase.RocksDBSnapshotOperation extends Object implements SnapshotStrategy.SnapshotResultSupplier<KeyedStateHandle>
Modifier and Type | Field and Description |
---|---|
protected long |
checkpointId
Id for the current checkpoint.
|
protected CheckpointStreamFactory |
checkpointStreamFactory
Stream factory that creates the output streams to DFS.
|
protected SnapshotDirectory |
localBackupDirectory
Local directory for the RocksDB native backup.
|
protected List<StateMetaInfoSnapshot> |
stateMetaInfoSnapshots
The state meta data.
|
protected CloseableRegistry |
tmpResourcesRegistry |
Modifier | Constructor and Description |
---|---|
protected |
RocksDBSnapshotOperation(long checkpointId,
CheckpointStreamFactory checkpointStreamFactory,
SnapshotDirectory localBackupDirectory,
List<StateMetaInfoSnapshot> stateMetaInfoSnapshots) |
Modifier and Type | Method and Description |
---|---|
protected Optional<KeyedStateHandle> |
getLocalSnapshot(StreamStateHandle localStreamStateHandle,
List<IncrementalKeyedStateHandle.HandleAndLocalPath> sharedState) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
get
protected final long checkpointId
@Nonnull protected final CheckpointStreamFactory checkpointStreamFactory
@Nonnull protected final List<StateMetaInfoSnapshot> stateMetaInfoSnapshots
@Nonnull protected final SnapshotDirectory localBackupDirectory
@Nonnull protected final CloseableRegistry tmpResourcesRegistry
protected RocksDBSnapshotOperation(long checkpointId, @Nonnull CheckpointStreamFactory checkpointStreamFactory, @Nonnull SnapshotDirectory localBackupDirectory, @Nonnull List<StateMetaInfoSnapshot> stateMetaInfoSnapshots)
protected Optional<KeyedStateHandle> getLocalSnapshot(@Nullable StreamStateHandle localStreamStateHandle, List<IncrementalKeyedStateHandle.HandleAndLocalPath> sharedState) throws IOException
IOException
Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.