public class OperatorStateRestoreOperation extends Object implements RestoreOperation<Void>
Constructor and Description |
---|
OperatorStateRestoreOperation(CloseableRegistry closeStreamOnCancelRegistry,
ClassLoader userClassloader,
Map<String,PartitionableListState<?>> registeredOperatorStates,
Map<String,BackendWritableBroadcastState<?,?>> registeredBroadcastStates,
Collection<OperatorStateHandle> stateHandles) |
Modifier and Type | Method and Description |
---|---|
Void |
restore()
Restores state that was previously snapshot-ed from the provided state handles.
|
public OperatorStateRestoreOperation(CloseableRegistry closeStreamOnCancelRegistry, ClassLoader userClassloader, Map<String,PartitionableListState<?>> registeredOperatorStates, Map<String,BackendWritableBroadcastState<?,?>> registeredBroadcastStates, @Nonnull Collection<OperatorStateHandle> stateHandles)
public Void restore() throws Exception
RestoreOperation
restore
in interface RestoreOperation<Void>
Exception
Copyright © 2014–2021 The Apache Software Foundation. All rights reserved.