akka.testkit

CallingThreadMailbox

class CallingThreadMailbox extends Mailbox with DefaultSystemMessageQueue

Linear Supertypes
DefaultSystemMessageQueue, Mailbox, Runnable, SystemMessageQueue, AnyRef, Any
Type Hierarchy Learn more about scaladoc diagrams
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. CallingThreadMailbox
  2. DefaultSystemMessageQueue
  3. Mailbox
  4. Runnable
  5. SystemMessageQueue
  6. AnyRef
  7. Any
Implicitly
  1. by any2stringadd
  2. by any2stringfmt
  3. by any2ArrowAssoc
  4. by any2Ensuring
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new CallingThreadMailbox(_receiver: Cell, mailboxType: MailboxType)

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. def +(other: String): String

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

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

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

    Definition Classes
    Any
  8. var _statusDoNotCallMeDirectly: Status

    Attributes
    protected
    Definition Classes
    Mailbox
  9. var _systemQueueDoNotCallMeDirectly: SystemMessage

    Attributes
    protected
    Definition Classes
    Mailbox
  10. var actor: ActorCell

    Definition Classes
    Mailbox
  11. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  12. final def becomeClosed(): Boolean

    set new primary status Closed.

    set new primary status Closed. Caller does not need to worry about whether status was Scheduled or not.

    Definition Classes
    Mailbox
    Annotations
    @tailrec()
  13. final def canBeScheduledForExecution(hasMessageHint: Boolean, hasSystemMessageHint: Boolean): Boolean

    Definition Classes
    Mailbox
  14. def cleanUp(): Unit

    Overridable callback to clean up the mailbox, called when an actor is unregistered.

    Overridable callback to clean up the mailbox, called when an actor is unregistered. By default it dequeues all system messages + messages and ships them to the owning actors' systems' DeadLetterMailbox

    Definition Classes
    CallingThreadMailbox → Mailbox
  15. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  16. val ctdLock: ReentrantLock

  17. def dequeue(): Envelope

    Try to dequeue the next message from this queue, return null failing that.

    Try to dequeue the next message from this queue, return null failing that.

    Definition Classes
    CallingThreadMailbox → Mailbox
  18. def dispatcher: MessageDispatcher

    Definition Classes
    Mailbox
  19. def enqueue(receiver: ActorRef, msg: Envelope): Unit

    Try to enqueue the message to this queue, or throw an exception.

    Try to enqueue the message to this queue, or throw an exception.

    Definition Classes
    CallingThreadMailbox → Mailbox
  20. def ensuring(cond: (CallingThreadMailbox) ⇒ Boolean, msg: ⇒ Any): CallingThreadMailbox

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

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

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

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

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

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

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

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

    Definition Classes
    AnyRef → Any
  29. def hasMessages: Boolean

    Indicates whether this queue is non-empty.

    Indicates whether this queue is non-empty.

    Definition Classes
    CallingThreadMailbox → Mailbox
  30. def hasSystemMessages: Boolean

    Definition Classes
    DefaultSystemMessageQueue
  31. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  32. final def isClosed: Boolean

    Definition Classes
    Mailbox
    Annotations
    @inline()
  33. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  34. final def isScheduled: Boolean

    Definition Classes
    Mailbox
    Annotations
    @inline()
  35. final def isSuspended: Boolean

    Definition Classes
    Mailbox
    Annotations
    @inline()
  36. val mailboxType: MailboxType

  37. val messageQueue: MessageQueue

    Definition Classes
    Mailbox
  38. final def ne(arg0: AnyRef): Boolean

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

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

    Definition Classes
    AnyRef
  41. def numberOfMessages: Int

    Should return the current number of messages held in this queue; may always return 0 if no other value is available efficiently.

    Should return the current number of messages held in this queue; may always return 0 if no other value is available efficiently. Do not use this for testing for presence of messages, use hasMessages instead.

    Definition Classes
    CallingThreadMailbox → Mailbox
  42. final def processAllSystemMessages(): Unit

    Will at least try to process all queued system messages: in case of failure simply drop and go on to the next, because there is nothing to restart here (failure is in ActorCell somewhere …).

    Will at least try to process all queued system messages: in case of failure simply drop and go on to the next, because there is nothing to restart here (failure is in ActorCell somewhere …). In case the mailbox becomes closed (because of processing a Terminate message), dump all already dequeued message to deadLetters.

    Definition Classes
    Mailbox
  43. def queue: MessageQueue

  44. final def resume(): Boolean

    Reduce the suspend count by one.

    Reduce the suspend count by one. Caller does not need to worry about whether status was Scheduled or not.

    returns

    true if the suspend count reached zero

    Definition Classes
    Mailbox
    Annotations
    @tailrec()
  45. final def run(): Unit

    Definition Classes
    Mailbox → Runnable
  46. val self: ActorRef

  47. def setActor(cell: ActorCell): Unit

    Definition Classes
    Mailbox
  48. final def setAsIdle(): Boolean

    Reset Scheduled status, keeping primary status as is.

    Reset Scheduled status, keeping primary status as is.

    Definition Classes
    Mailbox
    Annotations
    @tailrec()
  49. final def setAsScheduled(): Boolean

    Set Scheduled status, keeping primary status as is.

    Set Scheduled status, keeping primary status as is.

    Definition Classes
    Mailbox
    Annotations
    @tailrec()
  50. final def setStatus(newStatus: Status): Unit

    Attributes
    protected
    Definition Classes
    Mailbox
    Annotations
    @inline()
  51. final def shouldProcessMessage: Boolean

    Definition Classes
    Mailbox
    Annotations
    @inline()
  52. final def status: Status

    Definition Classes
    Mailbox
    Annotations
    @inline()
  53. final def suspend(): Boolean

    Increment the suspend count by one.

    Increment the suspend count by one. Caller does not need to worry about whether status was Scheduled or not.

    returns

    true if the previous suspend count was zero

    Definition Classes
    Mailbox
    Annotations
    @tailrec()
  54. final def suspendCount: Int

    Definition Classes
    Mailbox
    Annotations
    @inline()
  55. val suspendSwitch: Switch

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

    Definition Classes
    AnyRef
  57. val system: ActorSystem

  58. final def systemDrain(newContents: LatestFirstSystemMessageList): EarliestFirstSystemMessageList

    Definition Classes
    DefaultSystemMessageQueue
    Annotations
    @tailrec()
  59. final def systemEnqueue(receiver: ActorRef, message: SystemMessage): Unit

    Definition Classes
    DefaultSystemMessageQueue
    Annotations
    @tailrec()
  60. final def systemQueueGet: LatestFirstSystemMessageList

    Attributes
    protected
    Definition Classes
    Mailbox
  61. final def systemQueuePut(_old: LatestFirstSystemMessageList, _new: LatestFirstSystemMessageList): Boolean

    Attributes
    protected
    Definition Classes
    Mailbox
  62. def toString(): String

    Definition Classes
    AnyRef → Any
  63. final def updateStatus(oldStatus: Status, newStatus: Status): Boolean

    Attributes
    protected
    Definition Classes
    Mailbox
    Annotations
    @inline()
  64. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  67. def [B](y: B): (CallingThreadMailbox, B)

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

Shadowed Implicit Value Members

  1. val self: Any

    Implicit information
    This member is added by an implicit conversion from CallingThreadMailbox to StringAdd performed by method any2stringadd in scala.Predef.
    Shadowing
    This implicitly inherited member is shadowed by one or more members in this class.
    To access this member you can use a type ascription:
    (callingThreadMailbox: StringAdd).self
    Definition Classes
    StringAdd
  2. val self: Any

    Implicit information
    This member is added by an implicit conversion from CallingThreadMailbox to StringFormat performed by method any2stringfmt in scala.Predef.
    Shadowing
    This implicitly inherited member is shadowed by one or more members in this class.
    To access this member you can use a type ascription:
    (callingThreadMailbox: StringFormat).self
    Definition Classes
    StringFormat

Deprecated Value Members

  1. def x: CallingThreadMailbox

    Implicit information
    This member is added by an implicit conversion from CallingThreadMailbox to ArrowAssoc[CallingThreadMailbox] performed by method any2ArrowAssoc in scala.Predef.
    Shadowing
    This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
    To access this member you can use a type ascription:
    (callingThreadMailbox: ArrowAssoc[CallingThreadMailbox]).x
    Definition Classes
    ArrowAssoc
    Annotations
    @deprecated
    Deprecated

    (Since version 2.10.0) Use leftOfArrow instead

  2. def x: CallingThreadMailbox

    Implicit information
    This member is added by an implicit conversion from CallingThreadMailbox to Ensuring[CallingThreadMailbox] performed by method any2Ensuring in scala.Predef.
    Shadowing
    This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
    To access this member you can use a type ascription:
    (callingThreadMailbox: Ensuring[CallingThreadMailbox]).x
    Definition Classes
    Ensuring
    Annotations
    @deprecated
    Deprecated

    (Since version 2.10.0) Use resultOfEnsuring instead

Inherited from DefaultSystemMessageQueue

Inherited from Mailbox

Inherited from Runnable

Inherited from SystemMessageQueue

Inherited from AnyRef

Inherited from Any

Inherited by implicit conversion any2stringadd from CallingThreadMailbox to StringAdd

Inherited by implicit conversion any2stringfmt from CallingThreadMailbox to StringFormat

Inherited by implicit conversion any2ArrowAssoc from CallingThreadMailbox to ArrowAssoc[CallingThreadMailbox]

Inherited by implicit conversion any2Ensuring from CallingThreadMailbox to Ensuring[CallingThreadMailbox]

Ungrouped