public class JobVertexAccumulatorsHandler extends AbstractJobVertexRequestHandler
| Modifier and Type | Class and Description |
|---|---|
static class |
JobVertexAccumulatorsHandler.JobVertexAccumulatorsJsonArchivist
Archivist for JobVertexAccumulatorsHandler.
|
executor| Constructor and Description |
|---|
JobVertexAccumulatorsHandler(ExecutionGraphCache executionGraphHolder,
Executor executor) |
| Modifier and Type | Method and Description |
|---|---|
static String |
createVertexAccumulatorsJson(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, parseJobVertexIdhandleJsonRequesthandleRequestpublic JobVertexAccumulatorsHandler(ExecutionGraphCache executionGraphHolder, Executor executor)
public String[] getPaths()
RequestHandlerpublic CompletableFuture<String> handleRequest(AccessExecutionJobVertex jobVertex, Map<String,String> params)
handleRequest in class AbstractJobVertexRequestHandlerpublic static String createVertexAccumulatorsJson(AccessExecutionJobVertex jobVertex) throws IOException
IOExceptionCopyright © 2014–2018 The Apache Software Foundation. All rights reserved.