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 IMetricsConsumer
public void handleDataPoints(IMetricsConsumer.TaskInfo taskInfo, Collection<IMetricsConsumer.DataPoint> dataPoints)
handleDataPoints
in interface IMetricsConsumer
public void cleanup()
cleanup
in interface IMetricsConsumer
Copyright © 2023 The Apache Software Foundation. All rights reserved.