Schedules a function to be run repeatedly with an initial delay and a frequency.
Schedules a function to be run repeatedly with an initial delay and a frequency. E.g. if you would like the function to be run after 2 seconds and thereafter every 100ms you would set delay = Duration(2, TimeUnit.SECONDS) and interval = Duration(100, TimeUnit.MILLISECONDS)
Java API
Schedules a function to be run repeatedly with an initial delay and a frequency.
Schedules a function to be run repeatedly with an initial delay and a frequency. E.g. if you would like the function to be run after 2 seconds and thereafter every 100ms you would set delay = Duration(2, TimeUnit.SECONDS) and interval = Duration(100, TimeUnit.MILLISECONDS)
Scala API
Schedules a message to be sent repeatedly with an initial delay and frequency.
Schedules a message to be sent repeatedly with an initial delay and frequency. E.g. if you would like a message to be sent immediately and thereafter every 500ms you would set delay=Duration.Zero and interval=Duration(500, TimeUnit.MILLISECONDS)
Java & Scala API
Schedules a function to be run once with a delay, i.
Schedules a function to be run once with a delay, i.e. a time period that has to pass before the function is run.
Scala API
Schedules a message to be sent once with a delay, i.
Schedules a message to be sent once with a delay, i.e. a time period that has to pass before the message is sent.
Java & Scala API
Schedules a Runnable to be run once with a delay, i.
Schedules a Runnable to be run once with a delay, i.e. a time period that has to pass before the runnable is executed.
Java & Scala API
A scheduler implementation based on a HashedWheelTimer.
The HashedWheelTimer used by this class MUST throw an IllegalStateException if it does not enqueue a task. Once a task is queued, it MUST be executed or returned from stop().