public class JobDetailsHandler extends AbstractExecutionGraphRequestHandler
Modifier and Type | Class and Description |
---|---|
static class |
JobDetailsHandler.JobDetailsJsonArchivist
Archivist for the JobDetailsHandler.
|
executor
Constructor and Description |
---|
JobDetailsHandler(ExecutionGraphCache executionGraphHolder,
Executor executor,
MetricFetcher fetcher) |
Modifier and Type | Method and Description |
---|---|
static String |
createJobDetailsJson(AccessExecutionGraph graph,
MetricFetcher fetcher) |
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 JobDetailsHandler(ExecutionGraphCache executionGraphHolder, Executor executor, MetricFetcher fetcher)
public String[] getPaths()
RequestHandler
public CompletableFuture<String> handleRequest(AccessExecutionGraph graph, Map<String,String> params)
handleRequest
in class AbstractExecutionGraphRequestHandler
public static String createJobDetailsJson(AccessExecutionGraph graph, @Nullable MetricFetcher fetcher) throws IOException
IOException
Copyright © 2014–2019 The Apache Software Foundation. All rights reserved.