backtype.storm.metric
Class LoggingMetricsConsumer
java.lang.Object
backtype.storm.metric.LoggingMetricsConsumer
- All Implemented Interfaces:
- IMetricsConsumer
public class LoggingMetricsConsumer
- extends Object
- implements IMetricsConsumer
|
Field Summary |
static org.slf4j.Logger |
LOG
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LOG
public static final org.slf4j.Logger LOG
LoggingMetricsConsumer
public LoggingMetricsConsumer()
prepare
public void prepare(Map stormConf,
Object registrationArgument,
TopologyContext context,
IErrorReporter errorReporter)
- Specified by:
prepare in interface IMetricsConsumer
handleDataPoints
public void handleDataPoints(IMetricsConsumer.TaskInfo taskInfo,
Collection<IMetricsConsumer.DataPoint> dataPoints)
- Specified by:
handleDataPoints in interface IMetricsConsumer
cleanup
public void cleanup()
- Specified by:
cleanup in interface IMetricsConsumer
Copyright © 2014 The Apache Software Foundation. All Rights Reserved.