Interface Delayer
public interface Delayer
Delays the execution of a given task.
-
Method Summary
Modifier and TypeMethodDescriptionstatic DelayerA Delayer that uses a library-wide scheduler.Arranges for the task to be submitted to the given executor after the delay is evaluated.static Delayerof(ScheduledExecutorService scheduler)
-
Method Details
-
delay
Arranges for the task to be submitted to the given executor after the delay is evaluated. -
defaultDelayer
A Delayer that uses a library-wide scheduler. -
of
-