public class SubtasksTimesHandler extends AbstractJobVertexRequestHandler
Modifier and Type | Class and Description |
---|---|
static class |
SubtasksTimesHandler.SubtasksTimesJsonArchivist
Archivist for the SubtasksTimesHandler.
|
executor
Constructor and Description |
---|
SubtasksTimesHandler(ExecutionGraphCache executionGraphHolder,
Executor executor) |
Modifier and Type | Method and Description |
---|---|
static String |
createSubtaskTimesJson(AccessExecutionJobVertex jobVertex) |
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 SubtasksTimesHandler(ExecutionGraphCache executionGraphHolder, Executor executor)
public String[] getPaths()
RequestHandler
public CompletableFuture<String> handleRequest(AccessExecutionJobVertex jobVertex, Map<String,String> params)
handleRequest
in class AbstractJobVertexRequestHandler
public static String createSubtaskTimesJson(AccessExecutionJobVertex jobVertex) throws IOException
IOException
Copyright © 2014–2019 The Apache Software Foundation. All rights reserved.