Class BMTimer

java.lang.Object
com.netflix.spectator.api.AbstractTimer
net.bluemind.metrics.registry.impl.BMTimer
All Implemented Interfaces:
com.netflix.spectator.api.Meter, com.netflix.spectator.api.Timer

public class BMTimer extends com.netflix.spectator.api.AbstractTimer
  • Field Summary

    Fields inherited from class com.netflix.spectator.api.AbstractTimer

    clock
  • Method Summary

    Modifier and Type
    Method
    Description
    long
     
    boolean
     
    com.netflix.spectator.api.Id
    id()
     
    Iterable<com.netflix.spectator.api.Measurement>
     
    void
    record(long amount, TimeUnit unit)
     
    long
     

    Methods inherited from class com.netflix.spectator.api.AbstractTimer

    record, record

    Methods inherited from class java.lang.Object

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

    Methods inherited from interface com.netflix.spectator.api.Timer

    record, record, record
  • Method Details

    • id

      public com.netflix.spectator.api.Id id()
    • hasExpired

      public boolean hasExpired()
    • record

      public void record(long amount, TimeUnit unit)
    • measure

      public Iterable<com.netflix.spectator.api.Measurement> measure()
    • count

      public long count()
    • totalTime

      public long totalTime()