Class BMCounter

java.lang.Object
net.bluemind.metrics.registry.impl.BMCounter
All Implemented Interfaces:
com.netflix.spectator.api.Counter, com.netflix.spectator.api.Meter

public class BMCounter extends Object implements com.netflix.spectator.api.Counter
  • Method Details

    • id

      public com.netflix.spectator.api.Id id()
      Specified by:
      id in interface com.netflix.spectator.api.Meter
    • hasExpired

      public boolean hasExpired()
      Specified by:
      hasExpired in interface com.netflix.spectator.api.Meter
    • measure

      public Iterable<com.netflix.spectator.api.Measurement> measure()
      Specified by:
      measure in interface com.netflix.spectator.api.Meter
    • increment

      public void increment()
      Specified by:
      increment in interface com.netflix.spectator.api.Counter
    • increment

      public void increment(long amount)
      Specified by:
      increment in interface com.netflix.spectator.api.Counter
    • count

      public long count()
      Specified by:
      count in interface com.netflix.spectator.api.Counter
    • add

      public void add(double amount)
      Specified by:
      add in interface com.netflix.spectator.api.Counter
    • actualCount

      public double actualCount()
      Specified by:
      actualCount in interface com.netflix.spectator.api.Counter