Packages

o

com.twitter.finagle.util

HashedWheelTimer

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.

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. HashedWheelTimer
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. 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.

  5. 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.

  6. val TicksPerWheel: Int
  7. def apply(nettyTimer: org.jboss.netty.util.HashedWheelTimer): Timer

    Create a HashedWheelTimer based on a netty.HashedWheelTimer.

  8. def apply(tickDuration: Duration, ticksPerWheel: Int): Timer

    Create a HashedWheelTimer with custom Duration and ticks per wheel.

  9. def apply(tickDuration: Duration): Timer

    Create a HashedWheelTimer with custom Duration.

  10. def apply(threadFactory: ThreadFactory, tickDuration: Duration): Timer

    Create a HashedWheelTimer with custom ThreadFactory and Duration.

  11. def apply(threadFactory: ThreadFactory, tickDuration: Duration, ticksPerWheel: Int): Timer

    Create a HashedWheelTimer with custom ThreadFactory, Duration and ticks per wheel.

  12. def apply(): Timer

    Create a default HashedWheelTimer.

  13. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  14. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  15. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  16. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  17. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  18. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  19. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  20. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  21. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  22. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  23. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  24. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  25. def toString(): String
    Definition Classes
    AnyRef → Any
  26. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  27. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  28. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped