Class MaxTimesRepetition

    • Method Summary

      Modifier and Type Method Description
      void close()  
      static MaxTimesRepetition scheduleMaxTimes​(java.util.concurrent.ScheduledExecutorService scheduledExecutorService, java.lang.Runnable task, int rateMs, int maxTries)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • scheduleMaxTimes

        public static MaxTimesRepetition scheduleMaxTimes​(java.util.concurrent.ScheduledExecutorService scheduledExecutorService,
                                                          java.lang.Runnable task,
                                                          int rateMs,
                                                          int maxTries)
      • close

        public void close()
        Specified by:
        close in interface java.lang.AutoCloseable
        Specified by:
        close in interface NotThrowingAutoCloseable