docs: public static CompletedCheckpointStore createCompletedCheckpoints(
  			CuratorFramework client,
  			Configuration configuration,
  			JobID jobId,
  			int maxNumberOfCheckpointsToRetain,
  			Executor executor) throws Exception {
  
  		checkNotNull(configuration, "Configuration");
  
  		String checkpointsPath = configuration.getString(
  			HighAvailabilityOptions.HA_ZOOKEEPER_CHECKPOINTS_PATH);
  
  		RetrievableStateStorageHelper<CompletedCheckpoint> stateStorage = createFileSystemStateStorage(
  			configuration,
  			"completedCheckpoint");
  
  		checkpointsPath += ZooKeeperSubmittedJobGraphStore.getPathForJob(jobId);
  
  		final ZooKeeperCompletedCheckpointStore zooKeeperCompletedCheckpointStore = new ZooKeeperCompletedCheckpointStore(
  			maxNumberOfCheckpointsToRetain,
  			createZooKeeperStateHandleStore(client, checkpointsPath, stateStorage),
  			executor);
  
  		LOG.info("Initialized {} in '{}'.", ZooKeeperCompletedCheckpointStore.class.getSimpleName(), checkpointsPath);
  		return zooKeeperCompletedCheckpointStore;
  	}