Class MultiMetric

  • All Implemented Interfaces:

    
    public final class MultiMetric
    
                        
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Constructor Summary

      Constructors 
      Constructor Description
      MultiMetric(Counter counter, Counter dailyCounter, Counter hourlyCounter, Meter meter)
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      final Counter getCounter()
      final Counter getDailyCounter()
      final Counter getHourlyCounter()
      final Meter getMeter()
      final Unit mark()
      final Unit inc(Long n)
      final Unit inc(Integer n)
      final Unit update() trigger the meter updating
      final Unit reset() Reset the counters
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait