class CheckpointConfigHandler extends AbstractExecutionGraphRequestHandler {

	@Override
	public CompletableFuture<String> handleRequest(AccessExecutionGraph graph, Map<String, String> params) {
		return CompletableFuture.supplyAsync(
			() -> {
				try {
					return createCheckpointConfigJson(graph);
				} catch (IOException e) {
					throw new CompletionException(new FlinkException("Could not create checkpoint config json.", e));
				}
			},
			executor);
	}

	public  CheckpointConfigHandler(ExecutionGraphCache executionGraphHolder, Executor executor);

}