object 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.
- Alphabetic
- By Inheritance
- HashedWheelTimer
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
val
Default: Timer
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.
-
val
TickDuration: Duration
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.
- val TicksPerWheel: Int
-
def
apply(nettyTimer: org.jboss.netty.util.HashedWheelTimer): Timer
Create a
HashedWheelTimerbased on a netty.HashedWheelTimer. -
def
apply(tickDuration: Duration, ticksPerWheel: Int): Timer
Create a
HashedWheelTimerwith custom Duration and ticks per wheel. -
def
apply(tickDuration: Duration): Timer
Create a
HashedWheelTimerwith custom Duration. -
def
apply(threadFactory: ThreadFactory, tickDuration: Duration): Timer
Create a
HashedWheelTimerwith custom ThreadFactory and Duration. -
def
apply(threadFactory: ThreadFactory, tickDuration: Duration, ticksPerWheel: Int): Timer
Create a
HashedWheelTimerwith custom ThreadFactory, Duration and ticks per wheel. -
def
apply(): Timer
Create a default
HashedWheelTimer. -
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )