public class JobAccumulatorsHandler extends AbstractExecutionGraphRequestHandler
| Modifier and Type | Class and Description |
|---|---|
static class |
JobAccumulatorsHandler.JobAccumulatorsJsonArchivist
Archivist for the JobAccumulatorsHandler.
|
executor| Constructor and Description |
|---|
JobAccumulatorsHandler(ExecutionGraphCache executionGraphHolder,
Executor executor) |
| Modifier and Type | Method and Description |
|---|---|
static String |
createJobAccumulatorsJson(AccessExecutionGraph graph) |
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) |
handleJsonRequesthandleRequestpublic JobAccumulatorsHandler(ExecutionGraphCache executionGraphHolder, Executor executor)
public String[] getPaths()
RequestHandlerpublic CompletableFuture<String> handleRequest(AccessExecutionGraph graph, Map<String,String> params)
handleRequest in class AbstractExecutionGraphRequestHandlerpublic static String createJobAccumulatorsJson(AccessExecutionGraph graph) throws IOException
IOExceptionCopyright © 2014–2018 The Apache Software Foundation. All rights reserved.