Fixed delay is easier to reconcile with sleeps than fixed rate.

This commit is contained in:
akwizgran
2020-08-04 10:52:53 +01:00
parent ac80a90ef3
commit f1bde4e75c
5 changed files with 5 additions and 27 deletions

View File

@@ -20,12 +20,6 @@ public interface TaskScheduler {
*/
Future<?> schedule(Runnable task, long delay, TimeUnit unit);
/**
* See {@link ScheduledExecutorService#scheduleAtFixedRate(Runnable, long, long, TimeUnit)}.
*/
Future<?> scheduleAtFixedRate(Runnable task, long delay, long interval,
TimeUnit unit);
/**
* See {@link ScheduledExecutorService#scheduleWithFixedDelay(Runnable, long, long, TimeUnit)}.
*/