public interface CheckpointRecoveryFactory
| Modifier and Type | Field and Description |
|---|---|
static int |
NUMBER_OF_SUCCESSFUL_CHECKPOINTS_TO_RETAIN
The number of
CompletedCheckpoint instances to retain. |
| Modifier and Type | Method and Description |
|---|---|
CheckpointIDCounter |
createCheckpointIDCounter(org.apache.flink.api.common.JobID jobId)
Creates a
CheckpointIDCounter instance for a job. |
CompletedCheckpointStore |
createCheckpointStore(org.apache.flink.api.common.JobID jobId,
ClassLoader userClassLoader)
Creates a
CompletedCheckpointStore instance for a job. |
void |
start()
Starts the
CheckpointRecoveryFactory service. |
void |
stop()
Stops the
CheckpointRecoveryFactory service. |
static final int NUMBER_OF_SUCCESSFUL_CHECKPOINTS_TO_RETAIN
CompletedCheckpoint instances to retain.void start()
CheckpointRecoveryFactory service.void stop()
CheckpointRecoveryFactory service.CompletedCheckpointStore createCheckpointStore(org.apache.flink.api.common.JobID jobId, ClassLoader userClassLoader) throws Exception
CompletedCheckpointStore instance for a job.jobId - Job ID to recover checkpoints foruserClassLoader - User code class loader of the jobCompletedCheckpointStore instance for the jobExceptionCheckpointIDCounter createCheckpointIDCounter(org.apache.flink.api.common.JobID jobId) throws Exception
CheckpointIDCounter instance for a job.jobId - Job ID to recover checkpoints forCheckpointIDCounter instance for the jobExceptionCopyright © 2014–2016 The Apache Software Foundation. All rights reserved.