public class JobVertexFlameGraphHandler extends AbstractJobVertexHandler<VertexFlameGraph,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,
VertexStatsTracker<VertexThreadInfoStats> threadInfoOperatorTracker) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
static AbstractRestHandler<?,?,?,?> |
disabledHandler(GatewayRetriever<? extends RestfulGateway> leaderRetriever,
Time timeout,
Map<String,String> responseHeaders) |
protected VertexFlameGraph |
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, getTimeout
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, VertexStatsTracker<VertexThreadInfoStats> threadInfoOperatorTracker)
protected VertexFlameGraph handleRequest(HandlerRequest<EmptyRequestBody> request, AccessExecutionJobVertex jobVertex) throws RestHandlerException
AbstractJobVertexHandler
AccessExecutionJobVertex
has been
retrieved from the AccessExecutionGraph
.handleRequest
in class AbstractJobVertexHandler<VertexFlameGraph,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–2024 The Apache Software Foundation. All rights reserved.