Package org.apache.flink.runtime.state
Class SavepointResources<K>
- java.lang.Object
-
- org.apache.flink.runtime.state.SavepointResources<K>
-
- Type Parameters:
K- type of the backend keys.
@Internal public class SavepointResources<K> extends Object
Savepoint resources for aKeyedStateBackend. This is only a container for theFullSnapshotResourcesthat will be used by theSavepointSnapshotStrategyand gives the backend a way to tell theSnapshotStrategyRunnerwhether it prefers asynchronous or synchronous writing.
-
-
Constructor Summary
Constructors Constructor Description SavepointResources(FullSnapshotResources<K> snapshotResources, SnapshotExecutionType preferredSnapshotExecutionType)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SnapshotExecutionTypegetPreferredSnapshotExecutionType()FullSnapshotResources<K>getSnapshotResources()
-
-
-
Constructor Detail
-
SavepointResources
public SavepointResources(FullSnapshotResources<K> snapshotResources, SnapshotExecutionType preferredSnapshotExecutionType)
-
-
Method Detail
-
getSnapshotResources
public FullSnapshotResources<K> getSnapshotResources()
-
getPreferredSnapshotExecutionType
public SnapshotExecutionType getPreferredSnapshotExecutionType()
-
-