public interface RestartStrategy
|Modifier and Type||Method and Description|
True if the restart strategy can be applied to restart the
Called by the ExecutionGraph to eventually trigger a full recovery.
CompletableFuture<Void> restart(RestartCallback restarter, ScheduledExecutor executor)
The thread that calls this method is not supposed to block/sleep.
restarter- The hook to restart the ExecutionGraph
executor- An scheduled executor to delay the restart
CompletableFuturethat will be completed when the restarting process is done.
Copyright © 2014–2020 The Apache Software Foundation. All rights reserved.