public class NoRestartStrategy extends Object implements RestartStrategy
ExecutionGraph.| Modifier and Type | Class and Description |
|---|---|
static class |
NoRestartStrategy.NoRestartStrategyFactory |
| 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.NoRestartStrategyFactory |
createFactory(org.apache.flink.configuration.Configuration configuration)
Creates a NoRestartStrategy instance.
|
void |
restart(ExecutionGraph executionGraph)
Restarts the given
ExecutionGraph. |
String |
toString() |
public boolean canRestart()
RestartStrategyExecutionGraph.canRestart in interface RestartStrategypublic void restart(ExecutionGraph executionGraph)
RestartStrategyExecutionGraph.restart in interface RestartStrategyexecutionGraph - The ExecutionGraph to be restartedpublic static NoRestartStrategy.NoRestartStrategyFactory createFactory(org.apache.flink.configuration.Configuration configuration)
configuration - Configuration object which is ignoredCopyright © 2014–2016 The Apache Software Foundation. All rights reserved.