Packages

t

akka.dispatch.affinity

QueueSelector

trait QueueSelector extends AnyRef

A QueueSelector is responsible for, given a Runnable and the number of available queues, return which of the queues that Runnable should be placed in.

Source
AffinityPool.scala
Linear Supertypes
Type Hierarchy
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. QueueSelector
  2. AnyRef
  3. Any
Implicitly
  1. by any2stringadd
  2. by StringFormat
  3. by Ensuring
  4. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract def getQueue(command: Runnable, queues: Int): Int

    Must be deterministic—return the same value for the same input.

    Must be deterministic—return the same value for the same input.

    Exceptions thrown

    NullPointerException when command is null