K - type of the backend keys.@Internal public class SavepointResources<K> extends Object
KeyedStateBackend. This is only a container for the FullSnapshotResources that will be used by the SavepointSnapshotStrategy and gives the
backend a way to tell the SnapshotStrategyRunner whether it prefers asynchronous or
synchronous writing.| Constructor and Description |
|---|
SavepointResources(FullSnapshotResources<K> snapshotResources,
SnapshotExecutionType preferredSnapshotExecutionType) |
| Modifier and Type | Method and Description |
|---|---|
SnapshotExecutionType |
getPreferredSnapshotExecutionType() |
FullSnapshotResources<K> |
getSnapshotResources() |
public SavepointResources(FullSnapshotResources<K> snapshotResources, SnapshotExecutionType preferredSnapshotExecutionType)
public FullSnapshotResources<K> getSnapshotResources()
public SnapshotExecutionType getPreferredSnapshotExecutionType()
Copyright © 2014–2023 The Apache Software Foundation. All rights reserved.