public class CheckpointStatsDetailsHandler extends AbstractExecutionGraphRequestHandler
Modifier and Type | Class and Description |
---|---|
static class |
CheckpointStatsDetailsHandler.CheckpointStatsDetailsJsonArchivist
Archivist for the CheckpointStatsDetails.
|
executor
Constructor and Description |
---|
CheckpointStatsDetailsHandler(ExecutionGraphCache executionGraphHolder,
Executor executor,
CheckpointStatsCache cache) |
Modifier and Type | Method and Description |
---|---|
static String |
createCheckpointDetailsJson(AbstractCheckpointStats checkpoint) |
String[] |
getPaths()
Returns an array of REST URL's under which this handler can be registered.
|
CompletableFuture<String> |
handleRequest(AccessExecutionGraph graph,
Map<String,String> params) |
handleJsonRequest
handleRequest
public CheckpointStatsDetailsHandler(ExecutionGraphCache executionGraphHolder, Executor executor, CheckpointStatsCache cache)
public String[] getPaths()
RequestHandler
public CompletableFuture<String> handleRequest(AccessExecutionGraph graph, Map<String,String> params)
handleRequest
in class AbstractExecutionGraphRequestHandler
public static String createCheckpointDetailsJson(AbstractCheckpointStats checkpoint) throws IOException
IOException
Copyright © 2014–2019 The Apache Software Foundation. All rights reserved.