akka.dispatch

MessageDispatcher

abstract class MessageDispatcher extends AbstractMessageDispatcher with Executor with ExecutionContext

Linear Supertypes
ExecutionContext, Executor, AbstractMessageDispatcher, AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Hide All
  2. Show all
  1. MessageDispatcher
  2. ExecutionContext
  3. Executor
  4. AbstractMessageDispatcher
  5. AnyRef
  6. Any
Visibility
  1. Public
  2. All

Instance Constructors

  1. new MessageDispatcher(prerequisites: DispatcherPrerequisites)

Abstract Value Members

  1. abstract def createMailbox(actor: ActorCell): Mailbox

    Creates and returns a mailbox for the given actor.

    Creates and returns a mailbox for the given actor.

    Attributes
    protected[akka]
  2. abstract def dispatch(receiver: ActorCell, invocation: Envelope): Unit

    Will be called when the dispatcher is to queue an invocation for execution

    Will be called when the dispatcher is to queue an invocation for execution

    Attributes
    protected[akka]
  3. abstract def executeTask(invocation: TaskInvocation): Unit

    Attributes
    protected[akka]
  4. abstract def id: String

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

  5. abstract def registerForExecution(mbox: Mailbox, hasMessageHint: Boolean, hasSystemMessageHint: Boolean): Boolean

    Suggest to register the provided mailbox for execution

    Suggest to register the provided mailbox for execution

    Attributes
    protected[akka]
  6. abstract def shutdown(): Unit

    Called one time every time an actor is detached from this dispatcher and this dispatcher has no actors left attached Must be idempotent

    Called one time every time an actor is detached from this dispatcher and this dispatcher has no actors left attached Must be idempotent

    Attributes
    protected[akka]
  7. abstract def shutdownTimeout: Duration

    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

    Attributes
    protected[akka]
  8. abstract def systemDispatch(receiver: ActorCell, invocation: SystemMessage): Unit

    Will be called when the dispatcher is to queue an invocation for execution

    Will be called when the dispatcher is to queue an invocation for execution

    Attributes
    protected[akka]
  9. abstract def throughput: Int

    Attributes
    protected[akka]
  10. abstract def throughputDeadlineTime: Duration

    Attributes
    protected[akka]

Concrete 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).

  8. def clone(): AnyRef

    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  9. final def detach(actor: ActorCell): Unit

    Detaches the specified actor instance from this dispatcher

  10. final def eq(arg0: AnyRef): Boolean

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

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

    Submits the runnable for execution

    Submits the runnable for execution

    Definition Classes
    MessageDispatcherExecutionContext → Executor
  13. def finalize(): Unit

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

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

    Definition Classes
    AnyRef → Any
  16. def inhabitants: Long

  17. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  18. final val isThroughputDeadlineTimeDefined: Boolean

    Attributes
    protected[akka]
  19. final def ne(arg0: AnyRef): Boolean

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

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

    Definition Classes
    AnyRef
  22. val prerequisites: DispatcherPrerequisites

  23. def register(actor: 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.

    Attributes
    protected[akka]
  24. def reportFailure(t: Throwable): Unit

    Failed tasks should call reportFailure to let the ExecutionContext log the problem or whatever is appropriate for the implementation.

    Failed tasks should call reportFailure to let the ExecutionContext log the problem or whatever is appropriate for the implementation.

    Definition Classes
    MessageDispatcherExecutionContext
  25. def resume(actor: ActorCell): Unit

  26. def suspend(actor: ActorCell): Unit

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

  27. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  28. def toString(): String

    Definition Classes
    AnyRef → Any
  29. 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

    Attributes
    protected[akka]
  30. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws()

Inherited from ExecutionContext

Inherited from Executor

Inherited from AbstractMessageDispatcher

Inherited from AnyRef

Inherited from Any