public interface RestartStrategy
ExecutionGraph restarts.| Modifier and Type | Method and Description |
|---|---|
boolean |
canRestart()
True if the restart strategy can be applied to restart the
ExecutionGraph. |
void |
restart(RestartCallback restarter,
ScheduledExecutor executor)
Called by the ExecutionGraph to eventually trigger a full recovery.
|
boolean canRestart()
ExecutionGraph.void restart(RestartCallback restarter, ScheduledExecutor executor)
The thread that calls this method is not supposed to block/sleep.
restarter - The hook to restart the ExecutionGraphexecutor - An scheduled executor to delay the restartCopyright © 2014–2019 The Apache Software Foundation. All rights reserved.