The default Timer shared by Finagle.
The default Timer shared by Finagle.
Note that calls to Timer.stop() are logged and ignored as Finagle relies on it being available.
A wheel size of 512 and 10 millisecond ticks provides approximately 5100 milliseconds worth of scheduling.
A wheel size of 512 and 10 millisecond ticks provides approximately 5100 milliseconds worth of scheduling. This should suffice for most usage without having tasks scheduled for a later round.
Create a HashedWheelTimer
based on a netty.HashedWheelTimer.
Create a HashedWheelTimer
with custom Duration and ticks per wheel.
Create a HashedWheelTimer
with custom Duration.
Create a HashedWheelTimer
with custom ThreadFactory and Duration.
Create a HashedWheelTimer
with custom ThreadFactory, Duration
and ticks per wheel.
Create a default HashedWheelTimer
.
A HashedWheelTimer that uses org.jboss.netty.util.HashedWheelTimer under the hood. Prefer using a single instance per application, the default instance is HashedWheelTimer.Default.