public class ForwardingMetricsConsumer extends Object implements IMetricsConsumer
IMetricsConsumer.DataPoint, IMetricsConsumer.TaskInfo| Constructor and Description |
|---|
ForwardingMetricsConsumer() |
| Modifier and Type | Method and Description |
|---|---|
void |
cleanup() |
void |
handleDataPoints(IMetricsConsumer.TaskInfo taskInfo,
Collection<IMetricsConsumer.DataPoint> dataPoints) |
void |
prepare(Map<String,Object> topoConf,
Object registrationArgument,
TopologyContext context,
IErrorReporter errorReporter) |
public void prepare(Map<String,Object> topoConf, Object registrationArgument, TopologyContext context, IErrorReporter errorReporter)
prepare in interface IMetricsConsumerpublic void handleDataPoints(IMetricsConsumer.TaskInfo taskInfo, Collection<IMetricsConsumer.DataPoint> dataPoints)
handleDataPoints in interface IMetricsConsumerpublic void cleanup()
cleanup in interface IMetricsConsumerCopyright © 2022 The Apache Software Foundation. All rights reserved.