Class

akka.dispatch

MessageDispatcher

Related Doc: package dispatch

Permalink

abstract class MessageDispatcher extends AbstractMessageDispatcher with BatchingExecutor with ExecutionContextExecutor

Source
AbstractDispatcher.scala
Linear Supertypes
ExecutionContextExecutor, ExecutionContext, BatchingExecutor, Executor, AbstractMessageDispatcher, AnyRef, Any
Known Subclasses
Type Hierarchy
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. MessageDispatcher
  2. ExecutionContextExecutor
  3. ExecutionContext
  4. BatchingExecutor
  5. Executor
  6. AbstractMessageDispatcher
  7. AnyRef
  8. 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 MessageDispatcher(configurator: MessageDispatcherConfigurator)

    Permalink

Abstract Value Members

  1. abstract def createMailbox(actor: Cell, mailboxType: MailboxType): Mailbox

    Permalink

    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

    Permalink

    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

    INTERNAL API

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

    Permalink

    INTERNAL API

    INTERNAL API

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

    Permalink

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

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

    Permalink

    Suggest to register the provided mailbox for execution

    Suggest to register the provided mailbox for execution

    INTERNAL API

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

    Permalink

    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

    INTERNAL API

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

    Permalink

    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

    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

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

    Permalink

    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

    INTERNAL API

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

    Permalink

    INTERNAL API

    INTERNAL API

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

    Permalink

    INTERNAL API

    INTERNAL API

    Attributes
    protected[akka]

Concrete Value Members

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  3. def +(other: String): String

    Permalink
    Implicit information
    This member is added by an implicit conversion from MessageDispatcher to any2stringadd[MessageDispatcher] performed by method any2stringadd in scala.Predef.
    Definition Classes
    any2stringadd
  4. def ->[B](y: B): (MessageDispatcher, B)

    Permalink
    Implicit information
    This member is added by an implicit conversion from MessageDispatcher to ArrowAssoc[MessageDispatcher] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @inline()
  5. final def ==(arg0: Any): Boolean

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

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

    Permalink

    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 batchable(runnable: Runnable): Boolean

    Permalink

    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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  10. val configurator: MessageDispatcherConfigurator

    Permalink
  11. final def detach(actor: ActorCell): Unit

    Permalink

    Detaches the specified actor instance from this dispatcher

  12. def ensuring(cond: (MessageDispatcher) ⇒ Boolean, msg: ⇒ Any): MessageDispatcher

    Permalink
    Implicit information
    This member is added by an implicit conversion from MessageDispatcher to Ensuring[MessageDispatcher] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  13. def ensuring(cond: (MessageDispatcher) ⇒ Boolean): MessageDispatcher

    Permalink
    Implicit information
    This member is added by an implicit conversion from MessageDispatcher to Ensuring[MessageDispatcher] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  14. def ensuring(cond: Boolean, msg: ⇒ Any): MessageDispatcher

    Permalink
    Implicit information
    This member is added by an implicit conversion from MessageDispatcher to Ensuring[MessageDispatcher] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  15. def ensuring(cond: Boolean): MessageDispatcher

    Permalink
    Implicit information
    This member is added by an implicit conversion from MessageDispatcher to Ensuring[MessageDispatcher] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  16. final def eq(arg0: AnyRef): Boolean

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

    Permalink
    Definition Classes
    AnyRef → Any
  18. val eventStream: EventStream

    Permalink
  19. def execute(runnable: Runnable): Unit

    Permalink
    Definition Classes
    BatchingExecutor → Executor
  20. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  21. def formatted(fmtstr: String): String

    Permalink
    Implicit information
    This member is added by an implicit conversion from MessageDispatcher to StringFormat[MessageDispatcher] performed by method StringFormat in scala.Predef.
    Definition Classes
    StringFormat
    Annotations
    @inline()
  22. final def getClass(): Class[_]

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

    Permalink
    Definition Classes
    AnyRef → Any
  24. final def inhabitants: Long

    Permalink
  25. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  26. final val isThroughputDeadlineTimeDefined: Boolean

    Permalink

    INTERNAL API

    INTERNAL API

    Attributes
    protected[akka]
  27. val mailboxes: Mailboxes

    Permalink
  28. final def ne(arg0: AnyRef): Boolean

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

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

    Permalink
    Definition Classes
    AnyRef
  31. def prepare(): ExecutionContext

    Permalink
    Definition Classes
    ExecutionContext
  32. def register(actor: ActorCell): Unit

    Permalink

    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]
  33. def reportFailure(t: Throwable): Unit

    Permalink
    Definition Classes
    MessageDispatcher → ExecutionContext
  34. final def resubmitOnBlock: Boolean

    Permalink
    Attributes
    protected
    Definition Classes
    MessageDispatcher → BatchingExecutor
  35. def resume(actor: ActorCell): Unit

    Permalink
    Attributes
    protected[akka]
  36. def suspend(actor: ActorCell): Unit

    Permalink

    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

    Attributes
    protected[akka]
  37. final def synchronized[T0](arg0: ⇒ T0): T0

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

    Permalink
    Definition Classes
    AnyRef → Any
  39. final def unbatchedExecute(r: Runnable): Unit

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

    Permalink

    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]
  41. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  44. def [B](y: B): (MessageDispatcher, B)

    Permalink
    Implicit information
    This member is added by an implicit conversion from MessageDispatcher to ArrowAssoc[MessageDispatcher] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc

Inherited from ExecutionContextExecutor

Inherited from ExecutionContext

Inherited from BatchingExecutor

Inherited from Executor

Inherited from AbstractMessageDispatcher

Inherited from AnyRef

Inherited from Any

Inherited by implicit conversion any2stringadd from MessageDispatcher to any2stringadd[MessageDispatcher]

Inherited by implicit conversion StringFormat from MessageDispatcher to StringFormat[MessageDispatcher]

Inherited by implicit conversion Ensuring from MessageDispatcher to Ensuring[MessageDispatcher]

Inherited by implicit conversion ArrowAssoc from MessageDispatcher to ArrowAssoc[MessageDispatcher]

Ungrouped