Class DropwizardClock

java.lang.Object
com.codahale.metrics.Clock
io.micrometer.core.instrument.dropwizard.DropwizardClock

public class DropwizardClock extends com.codahale.metrics.Clock
  • Nested Class Summary

    Nested classes/interfaces inherited from class com.codahale.metrics.Clock

    com.codahale.metrics.Clock.UserTimeClock
  • Constructor Summary

    Constructors
    Constructor
    Description
    DropwizardClock(Clock micrometerClock)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    long
     
    long
     

    Methods inherited from class com.codahale.metrics.Clock

    defaultClock

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • DropwizardClock

      public DropwizardClock(Clock micrometerClock)
  • Method Details

    • getTick

      public long getTick()
      Specified by:
      getTick in class com.codahale.metrics.Clock
    • getTime

      public long getTime()
      Overrides:
      getTime in class com.codahale.metrics.Clock