Class Meter


  • public class Meter
    extends Object
    A Meter implementation based on AtomicLong
    Author:
    Daniel Meyer
    • Constructor Detail

      • Meter

        public Meter​(String name)
    • Method Detail

      • mark

        public void mark()
      • markTimes

        public void markTimes​(long times)
      • getName

        public String getName()
      • setName

        public void setName​(String name)
      • getAndClear

        public long getAndClear()
      • get

        public long get()