Class 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)  
    • Constructor Detail

      • ClockDriftPauseDetector

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

      • getSleepInterval

        public java.time.Duration getSleepInterval()
      • getPauseThreshold

        public java.time.Duration getPauseThreshold()