Class

akka.testkit

CallingThreadMailbox

Related Doc: package testkit

Permalink

class CallingThreadMailbox extends Mailbox with DefaultSystemMessageQueue

Source
CallingThreadDispatcher.scala
Linear Supertypes
DefaultSystemMessageQueue, Mailbox, Runnable, SystemMessageQueue, ForkJoinTask[Unit], Serializable, Future[Unit], 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. ForkJoinTask
  7. Serializable
  8. Future
  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 CallingThreadMailbox(_receiver: Cell, mailboxType: MailboxType)

    Permalink

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 CallingThreadMailbox to any2stringadd[CallingThreadMailbox] performed by method any2stringadd in scala.Predef.
    Definition Classes
    any2stringadd
  4. def ->[B](y: B): (CallingThreadMailbox, B)

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

    Permalink
    Definition Classes
    AnyRef → Any
  6. var _statusDoNotCallMeDirectly: Status

    Permalink
    Attributes
    protected
    Definition Classes
    Mailbox
  7. var _systemQueueDoNotCallMeDirectly: SystemMessage

    Permalink
    Attributes
    protected
    Definition Classes
    Mailbox
  8. var actor: ActorCell

    Permalink
    Definition Classes
    Mailbox
  9. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  10. final def becomeClosed(): Boolean

    Permalink

    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()
  11. final def canBeScheduledForExecution(hasMessageHint: Boolean, hasSystemMessageHint: Boolean): Boolean

    Permalink
    Definition Classes
    Mailbox
  12. def cancel(arg0: Boolean): Boolean

    Permalink
    Definition Classes
    ForkJoinTask → Future
  13. def cleanUp(): Unit

    Permalink

    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
  14. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  15. final def compareAndSetForkJoinTaskTag(arg0: Short, arg1: Short): Boolean

    Permalink
    Definition Classes
    ForkJoinTask
  16. def complete(arg0: Unit): Unit

    Permalink
    Definition Classes
    ForkJoinTask
  17. def completeExceptionally(arg0: Throwable): Unit

    Permalink
    Definition Classes
    ForkJoinTask
  18. val ctdLock: ReentrantLock

    Permalink
  19. final def currentStatus: Status

    Permalink
    Definition Classes
    Mailbox
    Annotations
    @inline()
  20. def dequeue(): Envelope

    Permalink

    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
  21. def dispatcher: MessageDispatcher

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

    Permalink

    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
  23. def ensuring(cond: (CallingThreadMailbox) ⇒ Boolean, msg: ⇒ Any): CallingThreadMailbox

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

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

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

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  29. final def exec(): Boolean

    Permalink
    Definition Classes
    Mailbox → ForkJoinTask
  30. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  31. final def fork(): ForkJoinTask[Unit]

    Permalink
    Definition Classes
    ForkJoinTask
  32. def formatted(fmtstr: String): String

    Permalink
    Implicit information
    This member is added by an implicit conversion from CallingThreadMailbox to StringFormat[CallingThreadMailbox] performed by method StringFormat in scala.Predef.
    Definition Classes
    StringFormat
    Annotations
    @inline()
  33. final def get(arg0: Long, arg1: TimeUnit): Unit

    Permalink
    Definition Classes
    ForkJoinTask → Future
    Annotations
    @throws( ... ) @throws( ... ) @throws( ... )
  34. final def get(): Unit

    Permalink
    Definition Classes
    ForkJoinTask → Future
    Annotations
    @throws( ... ) @throws( ... )
  35. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  36. final def getException(): Throwable

    Permalink
    Definition Classes
    ForkJoinTask
  37. final def getForkJoinTaskTag(): Short

    Permalink
    Definition Classes
    ForkJoinTask
  38. final def getRawResult(): Unit

    Permalink
    Definition Classes
    Mailbox → ForkJoinTask
  39. def hasMessages: Boolean

    Permalink

    Indicates whether this queue is non-empty.

    Indicates whether this queue is non-empty.

    Definition Classes
    CallingThreadMailbox → Mailbox
  40. def hasSystemMessages: Boolean

    Permalink
    Definition Classes
    DefaultSystemMessageQueue
  41. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  42. final def invoke(): Unit

    Permalink
    Definition Classes
    ForkJoinTask
  43. final def isCancelled(): Boolean

    Permalink
    Definition Classes
    ForkJoinTask → Future
  44. final def isClosed: Boolean

    Permalink
    Definition Classes
    Mailbox
    Annotations
    @inline()
  45. final def isCompletedAbnormally(): Boolean

    Permalink
    Definition Classes
    ForkJoinTask
  46. final def isCompletedNormally(): Boolean

    Permalink
    Definition Classes
    ForkJoinTask
  47. final def isDone(): Boolean

    Permalink
    Definition Classes
    ForkJoinTask → Future
  48. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  49. final def isScheduled: Boolean

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

    Permalink
    Definition Classes
    Mailbox
    Annotations
    @inline()
  51. final def join(): Unit

    Permalink
    Definition Classes
    ForkJoinTask
  52. val mailboxType: MailboxType

    Permalink
  53. val messageQueue: MessageQueue

    Permalink

    This is only a marker to be put in the messageQueue’s stead to make error messages pertaining to violated mailbox type requirements less cryptic.

    This is only a marker to be put in the messageQueue’s stead to make error messages pertaining to violated mailbox type requirements less cryptic.

    Definition Classes
    CallingThreadMailbox → Mailbox
  54. final def ne(arg0: AnyRef): Boolean

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

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

    Permalink
    Definition Classes
    AnyRef
  57. def numberOfMessages: Int

    Permalink

    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
  58. final def processAllSystemMessages(): Unit

    Permalink

    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
  59. def queue: MessageQueue

    Permalink
  60. final def quietlyComplete(): Unit

    Permalink
    Definition Classes
    ForkJoinTask
  61. final def quietlyInvoke(): Unit

    Permalink
    Definition Classes
    ForkJoinTask
  62. final def quietlyJoin(): Unit

    Permalink
    Definition Classes
    ForkJoinTask
  63. def reinitialize(): Unit

    Permalink
    Definition Classes
    ForkJoinTask
  64. final def resume(): Boolean

    Permalink

    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()
  65. final def run(): Unit

    Permalink
    Definition Classes
    Mailbox → Runnable
  66. val self: ActorRef

    Permalink
  67. def setActor(cell: ActorCell): Unit

    Permalink
    Definition Classes
    Mailbox
  68. final def setAsIdle(): Boolean

    Permalink

    Reset Scheduled status, keeping primary status as is.

    Reset Scheduled status, keeping primary status as is.

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

    Permalink

    Set Scheduled status, keeping primary status as is.

    Set Scheduled status, keeping primary status as is.

    Definition Classes
    Mailbox
    Annotations
    @tailrec()
  70. final def setForkJoinTaskTag(arg0: Short): Short

    Permalink
    Definition Classes
    ForkJoinTask
  71. final def setRawResult(unit: Unit): Unit

    Permalink
    Definition Classes
    Mailbox → ForkJoinTask
  72. final def setStatus(newStatus: Status): Unit

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

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

    Permalink

    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()
  75. final def suspendCount: Int

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

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

    Permalink
    Definition Classes
    AnyRef
  78. val system: ActorSystem

    Permalink
  79. final def systemDrain(newContents: LatestFirstSystemMessageList): EarliestFirstSystemMessageList

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

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

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  84. def tryUnfork(): Boolean

    Permalink
    Definition Classes
    ForkJoinTask
  85. final def updateStatus(oldStatus: Status, newStatus: Status): Boolean

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

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

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

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

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

Inherited from DefaultSystemMessageQueue

Inherited from Mailbox

Inherited from Runnable

Inherited from SystemMessageQueue

Inherited from ForkJoinTask[Unit]

Inherited from Serializable

Inherited from Future[Unit]

Inherited from AnyRef

Inherited from Any

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

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

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

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

Ungrouped