| Package | Description |
|---|---|
| org.apache.flink.api.common | |
| org.apache.flink.api.common.restartstrategy |
| Modifier and Type | Method and Description |
|---|---|
RestartStrategies.RestartStrategyConfiguration |
ExecutionConfig.getRestartStrategy()
Returns the restart strategy which has been set for the current job.
|
| Modifier and Type | Method and Description |
|---|---|
void |
ExecutionConfig.setRestartStrategy(RestartStrategies.RestartStrategyConfiguration restartStrategyConfiguration)
Sets the restart strategy to be used for recovery.
|
| Modifier and Type | Class and Description |
|---|---|
static class |
RestartStrategies.FailureRateRestartStrategyConfiguration
Configuration representing a failure rate restart strategy.
|
static class |
RestartStrategies.FallbackRestartStrategyConfiguration
Restart strategy configuration that could be used by jobs to use cluster level restart
strategy.
|
static class |
RestartStrategies.FixedDelayRestartStrategyConfiguration
Configuration representing a fixed delay restart strategy.
|
static class |
RestartStrategies.NoRestartStrategyConfiguration
Configuration representing no restart strategy.
|
| Modifier and Type | Method and Description |
|---|---|
static RestartStrategies.RestartStrategyConfiguration |
RestartStrategies.fallBackRestart() |
static RestartStrategies.RestartStrategyConfiguration |
RestartStrategies.fixedDelayRestart(int restartAttempts,
long delayBetweenAttempts)
Generates a FixedDelayRestartStrategyConfiguration.
|
static RestartStrategies.RestartStrategyConfiguration |
RestartStrategies.fixedDelayRestart(int restartAttempts,
Time delayInterval)
Generates a FixedDelayRestartStrategyConfiguration.
|
static RestartStrategies.RestartStrategyConfiguration |
RestartStrategies.noRestart()
Generates NoRestartStrategyConfiguration.
|
Copyright © 2014–2018 The Apache Software Foundation. All rights reserved.