public class JobVertexFlameGraphHandler extends AbstractJobVertexHandler<JobVertexFlameGraph,JobVertexFlameGraphParameters>
log, MAPPER
leaderRetriever, logger, responseHeaders, timeout
Constructor and Description |
---|
JobVertexFlameGraphHandler(GatewayRetriever<? extends RestfulGateway> leaderRetriever,
Time timeout,
Map<String,String> responseHeaders,
ExecutionGraphCache executionGraphCache,
Executor executor,
JobVertexThreadInfoTracker<JobVertexThreadInfoStats> threadInfoOperatorTracker) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
static AbstractRestHandler<?,?,?,?> |
disabledHandler(GatewayRetriever<? extends RestfulGateway> leaderRetriever,
Time timeout,
Map<String,String> responseHeaders) |
protected JobVertexFlameGraph |
handleRequest(HandlerRequest<EmptyRequestBody> request,
AccessExecutionJobVertex jobVertex)
Called for each request after the corresponding
AccessExecutionJobVertex has been
retrieved from the AccessExecutionGraph . |
handleRequest
handleRequest
handleRequest
getMessageHeaders, respondToRequest
closeAsync, closeHandlerAsync, respondAsLeader
channelRead0
acceptInboundMessage, channelRead
channelActive, channelInactive, channelReadComplete, channelRegistered, channelUnregistered, channelWritabilityChanged, exceptionCaught, userEventTriggered
ensureNotSharable, handlerAdded, handlerRemoved, isSharable
public JobVertexFlameGraphHandler(GatewayRetriever<? extends RestfulGateway> leaderRetriever, Time timeout, Map<String,String> responseHeaders, ExecutionGraphCache executionGraphCache, Executor executor, JobVertexThreadInfoTracker<JobVertexThreadInfoStats> threadInfoOperatorTracker)
protected JobVertexFlameGraph handleRequest(HandlerRequest<EmptyRequestBody> request, AccessExecutionJobVertex jobVertex) throws RestHandlerException
AbstractJobVertexHandler
AccessExecutionJobVertex
has been
retrieved from the AccessExecutionGraph
.handleRequest
in class AbstractJobVertexHandler<JobVertexFlameGraph,JobVertexFlameGraphParameters>
request
- the requestjobVertex
- the execution job vertexRestHandlerException
- if the handler could not process the requestpublic static AbstractRestHandler<?,?,?,?> disabledHandler(GatewayRetriever<? extends RestfulGateway> leaderRetriever, Time timeout, Map<String,String> responseHeaders)
Copyright © 2014–2023 The Apache Software Foundation. All rights reserved.