public class CheckpointStatsDetailsSubtasksHandler extends AbstractExecutionGraphRequestHandler
Modifier and Type | Class and Description |
---|---|
static class |
CheckpointStatsDetailsSubtasksHandler.CheckpointStatsDetailsSubtasksJsonArchivist
Archivist for the CheckpointStatsDetailsSubtasksHandler.
|
executor
Constructor and Description |
---|
CheckpointStatsDetailsSubtasksHandler(ExecutionGraphCache executionGraphHolder,
Executor executor,
CheckpointStatsCache cache) |
Modifier and Type | Method and Description |
---|---|
String[] |
getPaths()
Returns an array of REST URL's under which this handler can be registered.
|
CompletableFuture<String> |
handleJsonRequest(Map<String,String> pathParams,
Map<String,String> queryParams,
JobManagerGateway jobManagerGateway)
Core method that handles the request and generates the response.
|
CompletableFuture<String> |
handleRequest(AccessExecutionGraph graph,
Map<String,String> params) |
handleRequest
public CheckpointStatsDetailsSubtasksHandler(ExecutionGraphCache executionGraphHolder, Executor executor, CheckpointStatsCache cache)
public String[] getPaths()
RequestHandler
public CompletableFuture<String> handleJsonRequest(Map<String,String> pathParams, Map<String,String> queryParams, JobManagerGateway jobManagerGateway)
AbstractJsonRequestHandler
handleJsonRequest
in class AbstractExecutionGraphRequestHandler
pathParams
- The map of REST path parameters, decoded by the router.queryParams
- The map of query parameters.jobManagerGateway
- to communicate with the JobManager.public CompletableFuture<String> handleRequest(AccessExecutionGraph graph, Map<String,String> params)
handleRequest
in class AbstractExecutionGraphRequestHandler
Copyright © 2014–2019 The Apache Software Foundation. All rights reserved.