backtype.storm.metric.api
Interface IMetricsConsumer

All Known Implementing Classes:
LoggingMetricsConsumer

public interface IMetricsConsumer


Nested Class Summary
static class IMetricsConsumer.DataPoint
           
static class IMetricsConsumer.TaskInfo
           
 
Method Summary
 void cleanup()
           
 void handleDataPoints(IMetricsConsumer.TaskInfo taskInfo, Collection<IMetricsConsumer.DataPoint> dataPoints)
           
 void prepare(Map stormConf, Object registrationArgument, TopologyContext context, IErrorReporter errorReporter)
           
 

Method Detail

prepare

void prepare(Map stormConf,
             Object registrationArgument,
             TopologyContext context,
             IErrorReporter errorReporter)

handleDataPoints

void handleDataPoints(IMetricsConsumer.TaskInfo taskInfo,
                      Collection<IMetricsConsumer.DataPoint> dataPoints)

cleanup

void cleanup()


Copyright © 2014 The Apache Software Foundation. All Rights Reserved.