public class ExecutionGraphRestartCallback extends Object implements RestartCallback
RestartCallback that abstracts restart calls on an ExecutionGraph.
This callback implementation is one-shot; it can only be used once.
| Constructor and Description |
|---|
ExecutionGraphRestartCallback(ExecutionGraph execGraph,
long expectedGlobalModVersion)
Creates a new ExecutionGraphRestartCallback.
|
| Modifier and Type | Method and Description |
|---|---|
void |
triggerFullRecovery()
Triggers a full recovery in the target ExecutionGraph.
|
public ExecutionGraphRestartCallback(ExecutionGraph execGraph, long expectedGlobalModVersion)
execGraph - The ExecutionGraph to restartexpectedGlobalModVersion - The globalModVersion that the ExecutionGraph needs to have
for the restart to go throughpublic void triggerFullRecovery()
RestartCallbacktriggerFullRecovery in interface RestartCallbackCopyright © 2014–2020 The Apache Software Foundation. All rights reserved.