Package org.apache.pekko.actor.dungeon
Interface Dispatch
- 
 public interface DispatchINTERNAL API
- 
- 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description void_mailboxDoNotCallMeDirectly_$eq(org.apache.pekko.dispatch.Mailbox x$1)org.apache.pekko.dispatch.Mailbox_preventPrivateUnusedErasure()scala.PartialFunction<java.lang.Throwable,scala.runtime.BoxedUnit>handleException()booleanhasMessages()Dispatchinit(boolean sendSupervise, MailboxType mailboxType)Initialize this cell, i.e.DispatchinitWithFailure(java.lang.Throwable failure)booleanisTerminated()org.apache.pekko.dispatch.Mailboxmailbox()intnumberOfMessages()voidrestart(java.lang.Throwable cause)voidresume(java.lang.Throwable causedByFailure)voidsendMessage(Envelope msg)voidsendSystemMessage(SystemMessage message)EnvelopeserializeAndDeserialize(Envelope envelope)java.lang.ObjectserializeAndDeserializePayload(java.lang.Object obj)Dispatchstart()Start this cell, i.e.voidstop()voidsuspend()org.apache.pekko.dispatch.MailboxswapMailbox(org.apache.pekko.dispatch.Mailbox newMailbox)
 
- 
- 
- 
Method Detail- 
_mailboxDoNotCallMeDirectly_$eqvoid _mailboxDoNotCallMeDirectly_$eq(org.apache.pekko.dispatch.Mailbox x$1) 
 - 
_preventPrivateUnusedErasureorg.apache.pekko.dispatch.Mailbox _preventPrivateUnusedErasure() 
 - 
handleExceptionscala.PartialFunction<java.lang.Throwable,scala.runtime.BoxedUnit> handleException() 
 - 
hasMessagesboolean hasMessages() 
 - 
initDispatch init(boolean sendSupervise, MailboxType mailboxType) Initialize this cell, i.e. set up mailboxes and supervision. The UID must be reasonably different from the previous UID of a possible actor with the same path, which can be achieved by using ThreadLocalRandom.current.nextInt().
 - 
initWithFailureDispatch initWithFailure(java.lang.Throwable failure) 
 - 
isTerminatedboolean isTerminated() 
 - 
mailboxorg.apache.pekko.dispatch.Mailbox mailbox() 
 - 
numberOfMessagesint numberOfMessages() 
 - 
restartvoid restart(java.lang.Throwable cause) 
 - 
resumevoid resume(java.lang.Throwable causedByFailure) 
 - 
sendMessagevoid sendMessage(Envelope msg) 
 - 
sendSystemMessagevoid sendSystemMessage(SystemMessage message) 
 - 
serializeAndDeserializePayloadjava.lang.Object serializeAndDeserializePayload(java.lang.Object obj) 
 - 
startDispatch start() Start this cell, i.e. attach it to the dispatcher.
 - 
stopvoid stop() 
 - 
suspendvoid suspend() 
 - 
swapMailboxorg.apache.pekko.dispatch.Mailbox swapMailbox(org.apache.pekko.dispatch.Mailbox newMailbox) 
 
- 
 
-