public class AggregatingSubtasksMetricsHandler extends AbstractAggregatingMetricsHandler<AggregatedSubtaskMetricsParameters>
Specific subtasks can be selected for aggregation by specifying a comma-separated list of integer ranges.
/metrics?get=X,Y&subtasks=0-2,4-5
log, MAPPER
leaderRetriever, logger, responseHeaders, timeout
Constructor and Description |
---|
AggregatingSubtasksMetricsHandler(GatewayRetriever<? extends RestfulGateway> leaderRetriever,
Time timeout,
Map<String,String> responseHeaders,
Executor executor,
MetricFetcher fetcher) |
handleRequest
getMessageHeaders, respondToRequest
closeAsync, closeHandlerAsync, respondAsLeader
channelRead0
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 AggregatingSubtasksMetricsHandler(GatewayRetriever<? extends RestfulGateway> leaderRetriever, Time timeout, Map<String,String> responseHeaders, Executor executor, MetricFetcher fetcher)
Copyright © 2014–2020 The Apache Software Foundation. All rights reserved.