Packages

c

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.

Source
PinnedDispatcher.scala
Linear Supertypes
Dispatcher, MessageDispatcher, ExecutionContextExecutor, ExecutionContext, BatchingExecutor, Executor, AbstractMessageDispatcher, AnyRef, Any
Type Hierarchy
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. PinnedDispatcher
  2. Dispatcher
  3. MessageDispatcher
  4. ExecutionContextExecutor
  5. ExecutionContext
  6. BatchingExecutor
  7. Executor
  8. AbstractMessageDispatcher
  9. AnyRef
  10. 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

Instance Constructors

  1. new PinnedDispatcher(_configurator: MessageDispatcherConfigurator, _actor: ActorCell, _id: String, _shutdownTimeout: FiniteDuration, _threadPoolConfig: ThreadPoolConfig)

Value Members

  1. 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
  2. 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
  3. val configurator: MessageDispatcherConfigurator
    Definition Classes
    MessageDispatcher
  4. 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
  5. val eventStream: EventStream
    Definition Classes
    MessageDispatcher
  6. def execute(runnable: Runnable): Unit
    Definition Classes
    BatchingExecutor → Executor
  7. val id: String
    Definition Classes
    DispatcherMessageDispatcher
  8. final def inhabitants: Long
    Definition Classes
    MessageDispatcher
  9. val mailboxes: Mailboxes
    Definition Classes
    MessageDispatcher
  10. def reportFailure(t: Throwable): Unit
    Definition Classes
    MessageDispatcher → ExecutionContext
  11. val shutdownTimeout: FiniteDuration
    Definition Classes
    DispatcherMessageDispatcher
  12. val throughput: Int
    Definition Classes
    DispatcherMessageDispatcher
  13. val throughputDeadlineTime: Duration
    Definition Classes
    DispatcherMessageDispatcher
  14. val toString: String
    Definition Classes
    Dispatcher → AnyRef → Any

Deprecated Value Members

  1. def prepare(): ExecutionContext
    Definition Classes
    ExecutionContext
    Annotations
    @deprecated
    Deprecated

    (Since version 2.12.0) preparation of ExecutionContexts will be removed