public class ScheduledExecutorSchedulingProvider extends java.lang.Object implements SchedulingProvider
Constructor and Description |
---|
ScheduledExecutorSchedulingProvider(java.util.concurrent.ScheduledExecutorService scheduler) |
Modifier and Type | Method and Description |
---|---|
void |
schedule(java.lang.Runnable runnable,
int interval) |
void |
stop() |
public ScheduledExecutorSchedulingProvider(java.util.concurrent.ScheduledExecutorService scheduler)
public void schedule(java.lang.Runnable runnable, int interval)
schedule
in interface SchedulingProvider
public void stop()
stop
in interface SchedulingProvider