Package | Description |
---|---|
org.apache.flink.runtime.checkpoint | |
org.apache.flink.runtime.checkpoint.stats | |
org.apache.flink.runtime.executiongraph |
Modifier and Type | Method and Description |
---|---|
CompletedCheckpoint |
ZooKeeperCompletedCheckpointStore.getLatestCheckpoint() |
CompletedCheckpoint |
CompletedCheckpointStore.getLatestCheckpoint()
Returns the latest
CompletedCheckpoint instance or null if none was
added. |
CompletedCheckpoint |
SavepointStore.getState(String path) |
CompletedCheckpoint |
PendingCheckpoint.toCompletedCheckpoint() |
Modifier and Type | Method and Description |
---|---|
List<CompletedCheckpoint> |
ZooKeeperCompletedCheckpointStore.getAllCheckpoints() |
List<CompletedCheckpoint> |
CompletedCheckpointStore.getAllCheckpoints()
Returns all
CompletedCheckpoint instances. |
List<CompletedCheckpoint> |
CheckpointCoordinator.getSuccessfulCheckpoints() |
Modifier and Type | Method and Description |
---|---|
void |
ZooKeeperCompletedCheckpointStore.addCheckpoint(CompletedCheckpoint checkpoint)
Synchronously writes the new checkpoints to ZooKeeper and asynchronously removes older ones.
|
void |
CompletedCheckpointStore.addCheckpoint(CompletedCheckpoint checkpoint)
Adds a
CompletedCheckpoint instance to the list of completed checkpoints. |
protected void |
SavepointCoordinator.onFullyAcknowledgedCheckpoint(CompletedCheckpoint checkpoint) |
protected void |
CheckpointCoordinator.onFullyAcknowledgedCheckpoint(CompletedCheckpoint checkpoint)
Callback on full acknowledgement of a checkpoint.
|
String |
SavepointStore.putState(CompletedCheckpoint state) |
Constructor and Description |
---|
SavepointCoordinator(JobID jobId,
long baseInterval,
long checkpointTimeout,
ExecutionVertex[] tasksToTrigger,
ExecutionVertex[] tasksToWaitFor,
ExecutionVertex[] tasksToCommitTo,
ClassLoader userClassLoader,
CheckpointIDCounter checkpointIDCounter,
StateStore<CompletedCheckpoint> savepointStore,
CheckpointStatsTracker statsTracker) |
SavepointStore(StateStore<CompletedCheckpoint> stateStore) |
ZooKeeperCompletedCheckpointStore(int maxNumberOfCheckpointsToRetain,
ClassLoader userClassLoader,
org.apache.curator.framework.CuratorFramework client,
String checkpointsPath,
StateStorageHelper<CompletedCheckpoint> stateStorage)
Creates a
ZooKeeperCompletedCheckpointStore instance. |
Modifier and Type | Method and Description |
---|---|
void |
SimpleCheckpointStatsTracker.onCompletedCheckpoint(CompletedCheckpoint checkpoint) |
void |
DisabledCheckpointStatsTracker.onCompletedCheckpoint(CompletedCheckpoint checkpoint) |
void |
CheckpointStatsTracker.onCompletedCheckpoint(CompletedCheckpoint checkpoint)
Callback on a completed checkpoint.
|
Modifier and Type | Method and Description |
---|---|
void |
ExecutionGraph.enableSnapshotCheckpointing(long interval,
long checkpointTimeout,
long minPauseBetweenCheckpoints,
int maxConcurrentCheckpoints,
List<ExecutionJobVertex> verticesToTrigger,
List<ExecutionJobVertex> verticesToWaitFor,
List<ExecutionJobVertex> verticesToCommitTo,
akka.actor.ActorSystem actorSystem,
UUID leaderSessionID,
CheckpointIDCounter checkpointIDCounter,
CompletedCheckpointStore completedCheckpointStore,
RecoveryMode recoveryMode,
StateStore<CompletedCheckpoint> savepointStore,
CheckpointStatsTracker statsTracker) |
Copyright © 2014–2017 The Apache Software Foundation. All rights reserved.