public class NoRestartStrategy extends Object implements RestartStrategy
ExecutionGraph
.Constructor and Description |
---|
NoRestartStrategy() |
Modifier and Type | Method and Description |
---|---|
boolean |
canRestart()
True if the restart strategy can be applied to restart the
ExecutionGraph . |
static NoRestartStrategy |
create(Configuration configuration)
Creates a NoRestartStrategy instance.
|
void |
restart(ExecutionGraph executionGraph)
Restarts the given
ExecutionGraph . |
String |
toString() |
public boolean canRestart()
RestartStrategy
ExecutionGraph
.canRestart
in interface RestartStrategy
public void restart(ExecutionGraph executionGraph)
RestartStrategy
ExecutionGraph
.restart
in interface RestartStrategy
executionGraph
- The ExecutionGraph to be restartedpublic static NoRestartStrategy create(Configuration configuration)
configuration
- Configuration object which is ignoredCopyright © 2014–2017 The Apache Software Foundation. All rights reserved.