package backtype.storm.task;


public interface IMetricsContext {
    
}

@@ -27,46 +27,546 @@
 k;%0A%0A
-%0Apublic interface IMetricsContext %7B%0A  
+import backtype.storm.metric.api.CombinedMetric;%0Aimport backtype.storm.metric.api.ICombiner;%0Aimport backtype.storm.metric.api.IMetric;%0Aimport backtype.storm.metric.api.IReducer;%0Aimport backtype.storm.metric.api.ReducedMetric;%0A%0A%0Apublic interface IMetricsContext %7B%0A    %3CT extends IMetric%3E T registerMetric(String name, T metric, int timeBucketSizeInSecs);%0A    ReducedMetric registerMetric(String name, IReducer reducer, int timeBucketSizeInSecs);%0A    CombinedMetric registerMetric(String name, ICombiner combiner, int timeBucketSizeInSecs);
   %0A%7D

add metrics methods to IMetricsContext