public class JobManagerMetricsHandler extends AbstractMetricsHandler<JobManagerMetricsMessageParameters>
log, MAPPER
leaderRetriever, logger, responseHeaders, timeout
Constructor and Description |
---|
JobManagerMetricsHandler(GatewayRetriever<? extends RestfulGateway> leaderRetriever,
Time timeout,
Map<String,String> headers,
MetricFetcher metricFetcher) |
Modifier and Type | Method and Description |
---|---|
protected MetricStore.ComponentMetricStore |
getComponentMetricStore(HandlerRequest<EmptyRequestBody> request,
MetricStore metricStore)
Returns the
MetricStore.ComponentMetricStore that should be queried for metrics. |
handleRequest
getMessageHeaders, respondToRequest
closeAsync, closeHandlerAsync, respondAsLeader
channelRead0, getTimeout
acceptInboundMessage, channelRead
channelActive, channelInactive, channelReadComplete, channelRegistered, channelUnregistered, channelWritabilityChanged, exceptionCaught, userEventTriggered
ensureNotSharable, handlerAdded, handlerRemoved, isSharable
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
close
public JobManagerMetricsHandler(GatewayRetriever<? extends RestfulGateway> leaderRetriever, Time timeout, Map<String,String> headers, MetricFetcher metricFetcher)
@Nullable protected MetricStore.ComponentMetricStore getComponentMetricStore(HandlerRequest<EmptyRequestBody> request, MetricStore metricStore)
AbstractMetricsHandler
MetricStore.ComponentMetricStore
that should be queried for metrics.getComponentMetricStore
in class AbstractMetricsHandler<JobManagerMetricsMessageParameters>
Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.