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 theFullSnapshotResources
that will be used by theSavepointSnapshotStrategy
and gives the backend a way to tell theSnapshotStrategyRunner
whether 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 SnapshotExecutionType
getPreferredSnapshotExecutionType()
FullSnapshotResources<K>
getSnapshotResources()
-
-
-
Constructor Detail
-
SavepointResources
public SavepointResources(FullSnapshotResources<K> snapshotResources, SnapshotExecutionType preferredSnapshotExecutionType)
-
-
Method Detail
-
getSnapshotResources
public FullSnapshotResources<K> getSnapshotResources()
-
getPreferredSnapshotExecutionType
public SnapshotExecutionType getPreferredSnapshotExecutionType()
-
-