akka.dispatch

MessageDispatcher

trait MessageDispatcher extends AnyRef

Linear Supertypes
AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Hide All
  2. Show all
  1. MessageDispatcher
  2. AnyRef
  3. Any
Visibility
  1. Public
  2. All

Abstract Value Members

  1. def createMailbox (actorRef: ActorRef): AnyRef

    Creates and returns a mailbox for the given actor.

    Creates and returns a mailbox for the given actor.

    Attributes
    protected[akka] abstract
  2. def dispatch (invocation: MessageInvocation): 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] abstract
  3. def executeTask (invocation: TaskInvocation): Unit

    Attributes
    protected[akka] abstract
  4. def mailboxIsEmpty (actorRef: ActorRef): Boolean

    Returns the "current" emptiness status of the mailbox for the specified actor

    Returns the "current" emptiness status of the mailbox for the specified actor

    Attributes
    abstract
  5. def mailboxSize (actorRef: ActorRef): Int

    Returns the size of the mailbox for the specified actor

    Returns the size of the mailbox for the specified actor

    Attributes
    abstract
  6. def name : String

    Name of this dispatcher.

    Name of this dispatcher.

    Attributes
    abstract
  7. def resume (actorRef: ActorRef): Unit

    Attributes
    abstract
  8. def shutdown (): Unit

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

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

    Attributes
    protected[akka] abstract
  9. def start (): Unit

    Called one time every time an actor is attached to this dispatcher and this dispatcher was previously shutdown

    Called one time every time an actor is attached to this dispatcher and this dispatcher was previously shutdown

    Attributes
    protected[akka] abstract
  10. def suspend (actorRef: ActorRef): 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

    Attributes
    abstract

Concrete Value Members

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

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

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

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

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

    Attributes
    final
    Definition Classes
    Any
  6. val _tasks : AtomicLong

    Attributes
    protected
  7. val active : Switch

    Attributes
    protected
  8. def asInstanceOf [T0] : T0

    Attributes
    final
    Definition Classes
    Any
  9. def attach (actorRef: ActorRef): Unit

    Attaches the specified actorRef to this dispatcher

    Attaches the specified actorRef to this dispatcher

    Attributes
    final
  10. def clone (): AnyRef

    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  11. def detach (actorRef: ActorRef): Unit

    Detaches the specified actorRef from this dispatcher

    Detaches the specified actorRef from this dispatcher

    Attributes
    final
  12. def dispatchMessage (invocation: MessageInvocation): Unit

    Attributes
    protected[akka] final
  13. def dispatchTask (block: () ⇒ Unit): Unit

    Attributes
    protected[akka] final
  14. def eq (arg0: AnyRef): Boolean

    Attributes
    final
    Definition Classes
    AnyRef
  15. def equals (arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  16. def finalize (): Unit

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

    Attributes
    final
    Definition Classes
    AnyRef → Any
  18. val guard : ReentrantGuard

    Attributes
    protected
  19. def hashCode (): Int

    Definition Classes
    AnyRef → Any
  20. def isInstanceOf [T0] : Boolean

    Attributes
    final
    Definition Classes
    Any
  21. def ne (arg0: AnyRef): Boolean

    Attributes
    final
    Definition Classes
    AnyRef
  22. def notify (): Unit

    Attributes
    final
    Definition Classes
    AnyRef
  23. def notifyAll (): Unit

    Attributes
    final
    Definition Classes
    AnyRef
  24. def register (actorRef: ActorRef): Unit

    Attributes
    protected[akka]
  25. def stopAllAttachedActors : Unit

    Traverses the list of actors (uuids) currently being attached to this dispatcher and stops those actors

  26. def synchronized [T0] (arg0: ⇒ T0): T0

    Attributes
    final
    Definition Classes
    AnyRef
  27. def tasks : Long

    Returns the amount of tasks queued for execution

  28. def timeoutMs : Long

    When the dispatcher no longer has any actors registered, how long will it wait until it shuts itself down, in Ms 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, in Ms defaulting to your akka configs "akka.actor.dispatcher-shutdown-timeout" or otherwise, 1 Second

    Attributes
    protected[akka]
  29. def toString (): String

    Definition Classes
    AnyRef → Any
  30. def unregister (actorRef: ActorRef): Any

    Attributes
    protected[akka]
  31. val uuids : ConcurrentSkipListSet[Uuid]

    Attributes
    protected
  32. def wait (): Unit

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

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

    Attributes
    final
    Definition Classes
    AnyRef
    Annotations
    @throws()

Deprecated Value Members

  1. def pendingFutures : Long

    Returns the amount of futures queued for execution

    Returns the amount of futures queued for execution

    Annotations
    @deprecated
    Deprecated

    Will be removed for Akka 2.0, use 'tasks' instead

Inherited from AnyRef

Inherited from Any