Class CollectionMetric

  • All Implemented Interfaces:
    org.apache.storm.metric.api.IMetric

    public class CollectionMetric
    extends Object
    implements org.apache.storm.metric.api.IMetric
    • Constructor Detail

      • CollectionMetric

        public CollectionMetric()
    • Method Detail

      • addMeasurement

        public void addMeasurement​(long l)
      • getValueAndReset

        public Object getValueAndReset()
        Specified by:
        getValueAndReset in interface org.apache.storm.metric.api.IMetric