akka.dispatch

PinnedDispatcher

class PinnedDispatcher extends Dispatcher

Dedicates a unique thread for each actor passed in as reference. Served through its messageQueue.

The preferred way of creating dispatchers is to define configuration of it and use the the lookup method in akka.dispatch.Dispatchers.

Linear Supertypes
Dispatcher, MessageDispatcher, ExecutionContext, BatchingExecutor, Executor, AbstractMessageDispatcher, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. PinnedDispatcher
  2. Dispatcher
  3. MessageDispatcher
  4. ExecutionContext
  5. BatchingExecutor
  6. Executor
  7. AbstractMessageDispatcher
  8. AnyRef
  9. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new PinnedDispatcher(_prerequisites: DispatcherPrerequisites, _actor: ActorCell, _id: String, _mailboxType: MailboxType, _shutdownTimeout: FiniteDuration, _threadPoolConfig: ThreadPoolConfig)

Value Members

  1. final def !=(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

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

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  7. final def attach(actor: ActorCell): Unit

    Attaches the specified actor instance to this dispatcher, which includes scheduling it to run for the first time (Create() is expected to have been enqueued by the ActorCell upon mailbox creation).

    Attaches the specified actor instance to this dispatcher, which includes scheduling it to run for the first time (Create() is expected to have been enqueued by the ActorCell upon mailbox creation).

    Definition Classes
    MessageDispatcher
  8. def batchable(runnable: Runnable): Boolean

    Override this to define which runnables will be batched.

    Override this to define which runnables will be batched.

    Definition Classes
    BatchingExecutor
  9. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  10. def createMailbox(actor: Cell): Mailbox

    INTERNAL USE ONLY

    INTERNAL USE ONLY

    Attributes
    protected[akka]
    Definition Classes
    DispatcherMessageDispatcher
  11. final def detach(actor: ActorCell): Unit

    Detaches the specified actor instance from this dispatcher

    Detaches the specified actor instance from this dispatcher

    Definition Classes
    MessageDispatcher
  12. def dispatch(receiver: ActorCell, invocation: Envelope): Unit

    INTERNAL USE ONLY

    INTERNAL USE ONLY

    Attributes
    protected[akka]
    Definition Classes
    DispatcherMessageDispatcher
  13. final def eq(arg0: AnyRef): Boolean

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

    Definition Classes
    AnyRef → Any
  15. def execute(runnable: Runnable): Unit

    Definition Classes
    BatchingExecutor → Executor
  16. def executeTask(invocation: TaskInvocation): Unit

    INTERNAL USE ONLY

    INTERNAL USE ONLY

    Attributes
    protected[akka]
    Definition Classes
    DispatcherMessageDispatcher
  17. final def executorService: ExecutorServiceDelegate

    Attributes
    protected
    Definition Classes
    Dispatcher
  18. def finalize(): Unit

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

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

    Definition Classes
    AnyRef → Any
  21. val id: String

    Identifier of this dispatcher, corresponds to the full key of the dispatcher configuration.

    Identifier of this dispatcher, corresponds to the full key of the dispatcher configuration.

    Definition Classes
    DispatcherMessageDispatcher
  22. final def inhabitants: Long

    Definition Classes
    MessageDispatcher
  23. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  24. final val isThroughputDeadlineTimeDefined: Boolean

    INTERNAL API

    INTERNAL API

    Attributes
    protected[akka]
    Definition Classes
    MessageDispatcher
  25. val mailboxType: MailboxType

    Definition Classes
    Dispatcher
  26. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  27. final def notify(): Unit

    Definition Classes
    AnyRef
  28. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  29. def prepare(): ExecutionContext

    Definition Classes
    ExecutionContext
  30. val prerequisites: DispatcherPrerequisites

    Definition Classes
    MessageDispatcher
  31. def register(actorCell: ActorCell): Unit

    If you override it, you must call it.

    If you override it, you must call it. But only ever once. See "attach" for only invocation.

    INTERNAL API

    Attributes
    protected[akka]
    Definition Classes
    PinnedDispatcherMessageDispatcher
  32. def registerForExecution(mbox: Mailbox, hasMessageHint: Boolean, hasSystemMessageHint: Boolean): Boolean

    Returns if it was registered

    Returns if it was registered

    INTERNAL USE ONLY

    Attributes
    protected[akka]
    Definition Classes
    DispatcherMessageDispatcher
  33. def reportFailure(t: Throwable): Unit

    Definition Classes
    MessageDispatcher → ExecutionContext
  34. def resume(actor: ActorCell): Unit

    Definition Classes
    MessageDispatcher
  35. def shutdown(): Unit

    INTERNAL USE ONLY

    INTERNAL USE ONLY

    Attributes
    protected[akka]
    Definition Classes
    DispatcherMessageDispatcher
  36. val shutdownTimeout: FiniteDuration

    When the dispatcher no longer has any actors registered, how long will it wait until it shuts itself down, defaulting to your akka configs "akka.

    When the dispatcher no longer has any actors registered, how long will it wait until it shuts itself down, defaulting to your akka configs "akka.actor.default-dispatcher.shutdown-timeout" or default specified in reference.conf

    INTERNAL API

    Definition Classes
    DispatcherMessageDispatcher
  37. def suspend(actor: ActorCell): Unit

    After the call to this method, the dispatcher mustn't begin any new message processing for the specified reference

    After the call to this method, the dispatcher mustn't begin any new message processing for the specified reference

    Definition Classes
    MessageDispatcher
  38. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  39. def systemDispatch(receiver: ActorCell, invocation: SystemMessage): Unit

    INTERNAL USE ONLY

    INTERNAL USE ONLY

    Attributes
    protected[akka]
    Definition Classes
    DispatcherMessageDispatcher
  40. val throughput: Int

    INTERNAL API

    INTERNAL API

    Definition Classes
    DispatcherMessageDispatcher
  41. val throughputDeadlineTime: Duration

    INTERNAL API

    INTERNAL API

    Definition Classes
    DispatcherMessageDispatcher
  42. val toString: String

    Definition Classes
    Dispatcher → AnyRef → Any
  43. final def unbatchedExecute(r: Runnable): Unit

    Attributes
    protected
    Definition Classes
    MessageDispatcher → BatchingExecutor
  44. def unregister(actor: ActorCell): Unit

    If you override it, you must call it.

    If you override it, you must call it. But only ever once. See "detach" for the only invocation

    INTERNAL API

    Attributes
    protected[akka]
    Definition Classes
    PinnedDispatcherMessageDispatcher
  45. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws()

Inherited from Dispatcher

Inherited from MessageDispatcher

Inherited from ExecutionContext

Inherited from BatchingExecutor

Inherited from Executor

Inherited from AbstractMessageDispatcher

Inherited from AnyRef

Inherited from Any

Ungrouped