protected static final class MailboxProcessor.MailboxController extends Object implements MailboxDefaultAction.Controller
MailboxDefaultAction.Controller that is connected to a MailboxProcessor instance.| 限定符 | 构造器和说明 |
|---|---|
protected |
MailboxController(MailboxProcessor mailboxProcessor) |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
allActionsCompleted()
This method must be called to end the stream task when all actions for the tasks have
been performed.
|
MailboxDefaultAction.Suspension |
suspendDefaultAction()
Calling this method signals that the mailbox-thread should (temporarily) stop invoking
the default action, e.g. because there is currently no input available.
|
protected MailboxController(MailboxProcessor mailboxProcessor)
public void allActionsCompleted()
MailboxDefaultAction.Controllerpublic MailboxDefaultAction.Suspension suspendDefaultAction()
MailboxDefaultAction.ControllerCopyright © 2014–2021 The Apache Software Foundation. All rights reserved.