Class MaxTimesRepetition
- java.lang.Object
-
- de.unistuttgart.isw.sfsc.commonjava.util.scheduling.MaxTimesRepetition
-
- All Implemented Interfaces:
NotThrowingAutoCloseable,java.lang.AutoCloseable
public class MaxTimesRepetition extends java.lang.Object implements NotThrowingAutoCloseable
-
-
Method Summary
Modifier and Type Method Description voidclose()static MaxTimesRepetitionscheduleMaxTimes(java.util.concurrent.ScheduledExecutorService scheduledExecutorService, java.lang.Runnable task, int rateMs, int maxTries)
-
-
-
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:
closein interfacejava.lang.AutoCloseable- Specified by:
closein interfaceNotThrowingAutoCloseable
-
-