Object

com.twitter.finagle.util

HashedWheelTimer

Related Doc: package util

Permalink

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

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. val Default: Timer

    Permalink

    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

    Permalink

    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

    Permalink
  7. def apply(nettyTimer: org.jboss.netty.util.HashedWheelTimer): Timer

    Permalink

    Create a HashedWheelTimer based on a netty.HashedWheelTimer.

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

    Permalink

    Create a HashedWheelTimer with custom Duration and ticks per wheel.

  9. def apply(tickDuration: Duration): Timer

    Permalink

    Create a HashedWheelTimer with custom Duration.

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

    Permalink

    Create a HashedWheelTimer with custom ThreadFactory and Duration.

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

    Permalink

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

  12. def apply(): Timer

    Permalink

    Create a default HashedWheelTimer.

  13. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  14. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  15. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  16. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  17. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  18. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  19. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  20. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  21. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  22. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  23. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  24. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  25. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  26. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  27. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  28. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped