Package org.apache.flink.runtime.checkpoint
package org.apache.flink.runtime.checkpoint
-
ClassDescriptionBase class for checkpoint statistics.The abstract class of
CompletedCheckpointStore, which holds theSharedStateRegistryand provides the registration of shared state.A checkpoint, pending or completed.Extra interface for discarding the checkpoint.The checkpoint coordinator coordinates the distributed snapshots of operators and state.This actor listens to changes in the JobStatus and activates or deactivates the periodic checkpoint scheduler.RPC Gateway interface for messages to the CheckpointCoordinator.Base class for checkpoint related exceptions.The checkpoint failure manager which centralized manage checkpoint failure processing logic.A callback interface about how to fail a job.Various reasons why a checkpoint was failure.A checkpoint ID counter.Encapsulates all the meta data for a checkpoint.A collection of simple metrics, around the triggering of a checkpoint.A builder forCheckpointMetrics.Options for performing the checkpoint.How a checkpoint should be aligned.The plan of one checkpoint, indicating which tasks to trigger, waiting for acknowledge or commit for one specific checkpoint.Calculates the plan of the next checkpoint, including the tasks to trigger, wait or commit for each checkpoint.Provides the context forDefaultCheckpointPlanCalculatorto compute the plan of checkpoints.The configuration of a checkpoint.A factory for per Job checkpoint recovery components.Policy for whether checkpoints are retained after a job terminates.A utility class with the methods to write/load/dispose the checkpoint and savepoint metadata.CheckpointSchedulingprovides methods for starting and stopping the periodic scheduling of checkpoints.Delegate class responsible for checkpoints cleaning and counting the number of checkpoints yet to clean.Counts of checkpoints.An array based history of checkpoint stats.An interface that allows listening on the checkpoint lifecycle.A snapshot of the checkpoint stats.Status of the tracked checkpoint.Tracker for checkpoint statistics.CompletedCheckpointStoreutility interfaces.The type of checkpoint to perform.A CompletedCheckpoint describes a checkpoint after all required tasks acknowledged it (with their state) and that is considered successful.Statistics for a successfully completed checkpoint.Summary over all completed checkpoints.Immutable snapshot ofCompletedCheckpointStatsSummary.A bounded LIFO-queue ofCompletedCheckpointinstances.This class represents aCompletedCheckpointStoreif checkpointing has been disabled.This class represents aCheckpointIDCounterif checkpointing is deactivated.The default implementation of heCheckpointPlan.Default implementation forCheckpointPlanCalculator.DefaultCompletedCheckpointStore<R extends ResourceVersion<R>>Default implementation ofCompletedCheckpointStore.Helper methods related toDefaultCompletedCheckpointStore.A simple ConnectionState listener that remembers the last state.An embedded in-memory checkpoint store, which supports shutdown and suspend.Statistics for a failed checkpoint.A specializedOperatorSubtaskStaterepresenting the subtask is finished.Collects and fulfills the finished state for the subtasks or operators.Thrown when some subtasks of the operator have been finished but state doesn't support that (e.g.A special operator state implementation representing the operators whose instances are all finished.Captures ambiguous mappings of old channels to new channels for a particular gate or partition.Captures ambiguous mappings of old channels to new channels.Type of mapping which should be used for this in-flight data.Status of the initialization.This class encapsulates the data from the job manager to restore a task.ConnectionStateListenerwhich records the last state it was notified about.A repartitioner that assigns the same channel state to multiple subtasks according to some mapping.Simple encapsulation of state generated by checkpoint coordinator.The interface for hooks that can be called by the checkpoint coordinator when triggering or restoring a checkpoint.A factory to instantiate aMasterTriggerRestoreHook.This context is the interface through which theCheckpointCoordinatorinteracts with anOperatorCoordinatorduring checkpointing and checkpoint restoring.Simple container class which contains the raw/managed operator state and key-group state handles from all subtasks of an operator and therefore represents the complete state of a logical operator.Interface that allows to implement different strategies for repartitioning of operator state as parallelism changes.This class encapsulates the state for one parallel instance of an operator.The builder for a newOperatorSubtaskStatewhich can be obtained byOperatorSubtaskState.builder().A pending checkpoint is a checkpoint that has been started, but has not been acknowledged by all tasks that need to acknowledge it.Result of thePendingCheckpoint.acknowledgedTasksmethod.Statistics for a pending checkpoint that is still in progress.SimpleCheckpointRecoveryFactorywhich creates and keeps separateCompletedCheckpointStoreandCheckpointIDCounterfor eachJobID.PerJobCheckpointRecoveryFactory.CheckpointStoreRecoveryHelper<StoreType extends CompletedCheckpointStore>Restores or creates aCompletedCheckpointStore, optionally using an existing one.This class is a wrapper over multiple alternativeOperatorSubtaskStatethat are (partial) substitutes for each other and imposes a priority ordering over all alternatives for the different states which define an order in which the operator should attempt to restore the state from them.A builder for PrioritizedOperatorSubtaskState.Contains the fine-grain channel mappings that occur when a connected operator has been rescaled.Statistics for a restored checkpoint.Current default implementation ofOperatorStateRepartitionerthat redistributes state in round robin fashion.The type of checkpoint to perform.What's the intended action after the checkpoint (relevant for stopping with savepoint).The type of checkpoint to perform.Defines what files can be shared across snapshots.CheckpointIDCounterinstances for JobManagers running inHighAvailabilityMode.NONE.CheckpointCoordinatorcomponents inHighAvailabilityMode.NONE.CompletedCheckpointStorefor JobManagers running inHighAvailabilityMode.NONE.This class encapsulates the operation of assigning restored state when restoring from a checkpoint.StateObjectCollection<T extends StateObject>This class represents a generic collection forStateObjects.Aggregated values of some measurement such as min/max/average state size.Immutable snapshot ofStatsSummary.A collection of simple metrics, around the triggering of a checkpoint.A builder forSubTaskInitializationMetrics.Deprecated.Internal class for savepoint backwards compatibility.Statistics for a single subtask that is part of a checkpoint.Deprecated.Internal class for savepoint backwards compatibility.This class encapsulates state handles to the snapshots of all operator instances executed within one task.Statistics for a single task/operator that gathers all statistics of its subtasks and provides summary statistics about all subtasks.Summary of the subtask stats of a single task/operator.This class encapsulates the operation that checks if there are illegal modification to the JobGraph when restoring from a checkpoint with partially or fully finished operator states.CheckpointIDCounterinstances for JobManagers running inHighAvailabilityMode.ZOOKEEPER.CheckpointCoordinatorcomponents inHighAvailabilityMode.ZOOKEEPER.SingletonCheckpointStoreUtilimplementation for ZooKeeper.