Package org.apache.flink.runtime.state
Class OperatorStateRestoreOperation
- java.lang.Object
-
- org.apache.flink.runtime.state.OperatorStateRestoreOperation
-
- All Implemented Interfaces:
RestoreOperation<Void>
public class OperatorStateRestoreOperation extends Object implements RestoreOperation<Void>
Implementation of operator state restore operation.
-
-
Constructor Summary
Constructors Constructor Description OperatorStateRestoreOperation(CloseableRegistry closeStreamOnCancelRegistry, ClassLoader userClassloader, Map<String,PartitionableListState<?>> registeredOperatorStates, Map<String,BackendWritableBroadcastState<?,?>> registeredBroadcastStates, Collection<OperatorStateHandle> stateHandles)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Void
restore()
Restores state that was previously snapshot-ed from the provided state handles.
-
-
-
Constructor Detail
-
OperatorStateRestoreOperation
public OperatorStateRestoreOperation(CloseableRegistry closeStreamOnCancelRegistry, ClassLoader userClassloader, Map<String,PartitionableListState<?>> registeredOperatorStates, Map<String,BackendWritableBroadcastState<?,?>> registeredBroadcastStates, @Nonnull Collection<OperatorStateHandle> stateHandles)
-
-
Method Detail
-
restore
public Void restore() throws Exception
Description copied from interface:RestoreOperation
Restores state that was previously snapshot-ed from the provided state handles.- Specified by:
restore
in interfaceRestoreOperation<Void>
- Throws:
Exception
-
-