Package | Description |
---|---|
org.apache.flink.runtime.executiongraph | |
org.apache.flink.runtime.executiongraph.restart |
Modifier and Type | Method and Description |
---|---|
RestartStrategy |
ExecutionGraph.getRestartStrategy() |
Modifier and Type | Method and Description |
---|---|
static ExecutionGraph |
ExecutionGraphBuilder.buildGraph(ExecutionGraph prior,
JobGraph jobGraph,
Configuration jobManagerConfig,
ScheduledExecutorService futureExecutor,
Executor ioExecutor,
SlotProvider slotProvider,
ClassLoader classLoader,
CheckpointRecoveryFactory recoveryFactory,
Time timeout,
RestartStrategy restartStrategy,
MetricGroup metrics,
int parallelismForAutoMax,
org.slf4j.Logger log)
Builds the ExecutionGraph from the JobGraph.
|
Constructor and Description |
---|
ExecutionGraph(ScheduledExecutorService futureExecutor,
Executor ioExecutor,
JobID jobId,
String jobName,
Configuration jobConfig,
SerializedValue<ExecutionConfig> serializedConfig,
Time timeout,
RestartStrategy restartStrategy,
FailoverStrategy.Factory failoverStrategyFactory,
List<BlobKey> requiredJarFiles,
List<URL> requiredClasspaths,
SlotProvider slotProvider,
ClassLoader userClassLoader) |
Modifier and Type | Class and Description |
---|---|
class |
FailureRateRestartStrategy
Restart strategy which tries to restart the given
ExecutionGraph when failure rate exceeded
with a fixed time delay in between. |
class |
FixedDelayRestartStrategy
Restart strategy which tries to restart the given
ExecutionGraph a fixed number of times
with a fixed time delay in between. |
class |
NoRestartStrategy
Restart strategy which does not restart an
ExecutionGraph . |
Modifier and Type | Method and Description |
---|---|
abstract RestartStrategy |
RestartStrategyFactory.createRestartStrategy()
Factory method to create a restart strategy
|
RestartStrategy |
NoRestartStrategy.NoRestartStrategyFactory.createRestartStrategy() |
RestartStrategy |
FixedDelayRestartStrategy.FixedDelayRestartStrategyFactory.createRestartStrategy() |
RestartStrategy |
FailureRateRestartStrategy.FailureRateRestartStrategyFactory.createRestartStrategy() |
static RestartStrategy |
RestartStrategyFactory.createRestartStrategy(RestartStrategies.RestartStrategyConfiguration restartStrategyConfiguration)
Creates a
RestartStrategy instance from the given RestartStrategies.RestartStrategyConfiguration . |
Copyright © 2014–2018 The Apache Software Foundation. All rights reserved.