public class JobVertexDetailsHandler extends AbstractJobVertexRequestHandler
Modifier and Type | Class and Description |
---|---|
static class |
JobVertexDetailsHandler.JobVertexDetailsJsonArchivist
Archivist for the JobVertexDetailsHandler.
|
executor
Constructor and Description |
---|
JobVertexDetailsHandler(ExecutionGraphCache executionGraphHolder,
Executor executor,
MetricFetcher fetcher) |
Modifier and Type | Method and Description |
---|---|
static String |
createVertexDetailsJson(AccessExecutionJobVertex jobVertex,
String jobID,
MetricFetcher fetcher) |
String[] |
getPaths()
Returns an array of REST URL's under which this handler can be registered.
|
CompletableFuture<String> |
handleRequest(AccessExecutionJobVertex jobVertex,
Map<String,String> params) |
handleRequest, parseJobVertexId
handleJsonRequest
handleRequest
public JobVertexDetailsHandler(ExecutionGraphCache executionGraphHolder, Executor executor, MetricFetcher fetcher)
public String[] getPaths()
RequestHandler
public CompletableFuture<String> handleRequest(AccessExecutionJobVertex jobVertex, Map<String,String> params)
handleRequest
in class AbstractJobVertexRequestHandler
public static String createVertexDetailsJson(AccessExecutionJobVertex jobVertex, String jobID, @Nullable MetricFetcher fetcher) throws IOException
IOException
Copyright © 2014–2019 The Apache Software Foundation. All rights reserved.