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 stormConf,
Object registrationArgument,
TopologyContext context,
IErrorReporter errorReporter) |
public void prepare(Map stormConf, 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 © 2022 The Apache Software Foundation. All Rights Reserved.