public abstract class AbstractExecutionGraphRequestHandler extends AbstractJsonRequestHandler
executor| Constructor and Description |
|---|
AbstractExecutionGraphRequestHandler(ExecutionGraphCache executionGraphCache,
Executor executor) |
| Modifier and Type | Method and Description |
|---|---|
CompletableFuture<String> |
handleJsonRequest(Map<String,String> pathParams,
Map<String,String> queryParams,
JobManagerGateway jobManagerGateway)
Core method that handles the request and generates the response.
|
abstract CompletableFuture<String> |
handleRequest(AccessExecutionGraph graph,
Map<String,String> params) |
handleRequestclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetPathspublic AbstractExecutionGraphRequestHandler(ExecutionGraphCache executionGraphCache, Executor executor)
public CompletableFuture<String> handleJsonRequest(Map<String,String> pathParams, Map<String,String> queryParams, JobManagerGateway jobManagerGateway)
AbstractJsonRequestHandlerhandleJsonRequest in class AbstractJsonRequestHandlerpathParams - The map of REST path parameters, decoded by the router.queryParams - The map of query parameters.jobManagerGateway - to communicate with the JobManager.public abstract CompletableFuture<String> handleRequest(AccessExecutionGraph graph, Map<String,String> params)
Copyright © 2014–2018 The Apache Software Foundation. All rights reserved.