public class RunnableWithDynamicPeriod
extends java.lang.Object
implements java.lang.Runnable
| Constructor and Description |
|---|
RunnableWithDynamicPeriod(java.lang.Runnable lambda,
java.util.List<java.lang.Integer> periods,
java.util.concurrent.ScheduledExecutorService es) |
| Modifier and Type | Method and Description |
|---|---|
void |
cancel(boolean b) |
void |
restart() |
void |
run() |