Class ZooKeeperCheckpointRecoveryFactory
java.lang.Object
org.apache.flink.runtime.checkpoint.ZooKeeperCheckpointRecoveryFactory
- All Implemented Interfaces:
CheckpointRecoveryFactory
CheckpointCoordinator components in HighAvailabilityMode.ZOOKEEPER.-
Constructor Summary
ConstructorsConstructorDescriptionZooKeeperCheckpointRecoveryFactory(org.apache.flink.shaded.curator5.org.apache.curator.framework.CuratorFramework client, org.apache.flink.configuration.Configuration config, Executor executor) -
Method Summary
Modifier and TypeMethodDescriptioncreateCheckpointIDCounter(org.apache.flink.api.common.JobID jobID) Creates aCheckpointIDCounterinstance for a job.createRecoveredCompletedCheckpointStore(org.apache.flink.api.common.JobID jobId, int maxNumberOfCheckpointsToRetain, SharedStateRegistryFactory sharedStateRegistryFactory, Executor ioExecutor, org.apache.flink.core.execution.RecoveryClaimMode recoveryClaimMode) Creates a RECOVEREDCompletedCheckpointStoreinstance for a job.
-
Constructor Details
-
ZooKeeperCheckpointRecoveryFactory
public ZooKeeperCheckpointRecoveryFactory(org.apache.flink.shaded.curator5.org.apache.curator.framework.CuratorFramework client, org.apache.flink.configuration.Configuration config, Executor executor)
-
-
Method Details
-
createCheckpointIDCounter
public CheckpointIDCounter createCheckpointIDCounter(org.apache.flink.api.common.JobID jobID) throws Exception Description copied from interface:CheckpointRecoveryFactoryCreates aCheckpointIDCounterinstance for a job.- Specified by:
createCheckpointIDCounterin interfaceCheckpointRecoveryFactory- Parameters:
jobID- Job ID to recover checkpoints for- Returns:
CheckpointIDCounterinstance for the job- Throws:
Exception