Constructor and Description |
---|
CheckpointCoordinator(JobID job,
long baseInterval,
long checkpointTimeout,
int numberKeyGroups,
ExecutionVertex[] tasksToTrigger,
ExecutionVertex[] tasksToWaitFor,
ExecutionVertex[] tasksToCommitTo,
ClassLoader userClassLoader,
CheckpointIDCounter checkpointIDCounter,
CompletedCheckpointStore completedCheckpointStore,
RecoveryMode recoveryMode,
Executor executor) |
CheckpointCoordinator(JobID job,
long baseInterval,
long checkpointTimeout,
long minPauseBetweenCheckpoints,
int maxConcurrentCheckpointAttempts,
int numberKeyGroups,
ExecutionVertex[] tasksToTrigger,
ExecutionVertex[] tasksToWaitFor,
ExecutionVertex[] tasksToCommitTo,
ClassLoader userClassLoader,
CheckpointIDCounter checkpointIDCounter,
CompletedCheckpointStore completedCheckpointStore,
RecoveryMode recoveryMode,
CheckpointStatsTracker statsTracker,
Executor executor) |
Modifier and Type | Method and Description |
---|---|
void |
ExecutionGraph.enableSnapshotCheckpointing(long interval,
long checkpointTimeout,
long minPauseBetweenCheckpoints,
int maxConcurrentCheckpoints,
int numberKeyGroups,
List<ExecutionJobVertex> verticesToTrigger,
List<ExecutionJobVertex> verticesToWaitFor,
List<ExecutionJobVertex> verticesToCommitTo,
akka.actor.ActorSystem actorSystem,
UUID leaderSessionID,
CheckpointIDCounter checkpointIDCounter,
CompletedCheckpointStore checkpointStore,
RecoveryMode recoveryMode,
SavepointStore savepointStore,
CheckpointStatsTracker statsTracker) |
Modifier and Type | Method and Description |
---|---|
static RecoveryMode |
RecoveryMode.fromConfig(Configuration config)
Return the configured
RecoveryMode . |
protected RecoveryMode |
JobManager.recoveryMode() |
static RecoveryMode |
RecoveryMode.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RecoveryMode[] |
RecoveryMode.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
RecoveryMode |
FlinkMiniCluster.recoveryMode() |
Modifier and Type | Method and Description |
---|---|
static RecoveryMode |
LeaderRetrievalUtils.getRecoveryMode(Configuration config)
Gets the recovery mode as configured, based on the
ConfigConstants.RECOVERY_MODE
config key. |
Copyright © 2014–2017 The Apache Software Foundation. All rights reserved.