Class ClockDriftPauseDetector

java.lang.Object
io.micrometer.core.instrument.distribution.pause.ClockDriftPauseDetector
All Implemented Interfaces:
PauseDetector

public class ClockDriftPauseDetector
extends java.lang.Object
implements PauseDetector
Pause detector that monitors clock drift at a configurable interval.
  • Constructor Summary

    Constructors 
    Constructor Description
    ClockDriftPauseDetector​(java.time.Duration sleepInterval, java.time.Duration pauseThreshold)  
  • Method Summary

    Modifier and Type Method Description
    java.time.Duration getPauseThreshold()  
    java.time.Duration getSleepInterval()  

    Methods inherited from class java.lang.Object

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

    • ClockDriftPauseDetector

      public ClockDriftPauseDetector​(java.time.Duration sleepInterval, java.time.Duration pauseThreshold)
  • Method Details