java.util.concurrent.ScheduledExecutorService Maven / Gradle / Ivy
package java.util.concurrent;
public interface ScheduledExecutorService extends ExecutorService {
ScheduledFuture> schedule(Runnable command, long delay, TimeUnit unit);
ScheduledFuture schedule(Callable callable, long delay, TimeUnit unit);
ScheduledFuture> scheduleAtFixedRate(Runnable command, long initialDelay, long period, TimeUnit unit);
ScheduledFuture> scheduleWithFixedDelay(Runnable command, long initialDelay, long delay, TimeUnit unit);
}