Class ChangelogBackendRestoreOperation
java.lang.Object
org.apache.flink.state.changelog.restore.ChangelogBackendRestoreOperation
Restores
ChangelogKeyedStateBackend from the provided handles.-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfaceBuilds base backend forChangelogKeyedStateBackendfrom state.static interfaceBuildsChangelogRestoreTargetfrom the base backend and state. -
Method Summary
Modifier and TypeMethodDescriptionstatic <K> org.apache.flink.runtime.state.CheckpointableKeyedStateBackend<K>restore(org.apache.flink.configuration.Configuration configuration, ClassLoader classLoader, org.apache.flink.runtime.state.TaskStateManager taskStateManager, Collection<org.apache.flink.runtime.state.changelog.ChangelogStateBackendHandle> stateHandles, ChangelogBackendRestoreOperation.BaseBackendBuilder<K> baseBackendBuilder, ChangelogBackendRestoreOperation.ChangelogRestoreTargetBuilder<K> changelogRestoreTargetBuilder)
-
Method Details
-
restore
public static <K> org.apache.flink.runtime.state.CheckpointableKeyedStateBackend<K> restore(org.apache.flink.configuration.Configuration configuration, ClassLoader classLoader, org.apache.flink.runtime.state.TaskStateManager taskStateManager, Collection<org.apache.flink.runtime.state.changelog.ChangelogStateBackendHandle> stateHandles, ChangelogBackendRestoreOperation.BaseBackendBuilder<K> baseBackendBuilder, ChangelogBackendRestoreOperation.ChangelogRestoreTargetBuilder<K> changelogRestoreTargetBuilder) throws Exception - Throws:
Exception
-