Package org.apache.pekko.testkit
Class CallingThreadMailbox
java.lang.Object
org.apache.pekko.dispatch.Mailbox
org.apache.pekko.testkit.CallingThreadMailbox
- All Implemented Interfaces:
DefaultSystemMessageQueue
public class CallingThreadMailbox
extends org.apache.pekko.dispatch.Mailbox
implements DefaultSystemMessageQueue
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.pekko.dispatch.DefaultSystemMessageQueue
hasSystemMessages, systemDrain, systemEnqueue
-
Constructor Details
-
CallingThreadMailbox
-
-
Method Details
-
cleanUp
public void cleanUp() -
ctdLock
-
dequeue
-
enqueue
-
hasMessages
public boolean hasMessages() -
mailboxType
-
messageQueue
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. -
numberOfMessages
public int numberOfMessages() -
queue
-
self
-
suspendSwitch
-
system
-