mirror of
https://code.briarproject.org/briar/briar.git
synced 2026-02-11 18:29:05 +01:00
Fixed delay is easier to reconcile with sleeps than fixed rate.
This commit is contained in:
@@ -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)}.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user