@Internal
public static interface MailboxDefaultAction.Controller
| Modifier and Type | Method and Description |
|---|---|
void |
allActionsCompleted()
This method must be called to end the stream task when all actions for the tasks have
been performed.
|
MailboxDefaultAction.Suspension |
suspendDefaultAction()
Same as
suspendDefaultAction(TimerGauge) but without any associated timer
measuring the idle time. |
MailboxDefaultAction.Suspension |
suspendDefaultAction(org.apache.flink.runtime.metrics.TimerGauge suspensionIdleTimer)
Calling this method signals that the mailbox-thread should (temporarily) stop invoking
the default action, e.g.
|
void allActionsCompleted()
MailboxDefaultAction.Suspension suspendDefaultAction(org.apache.flink.runtime.metrics.TimerGauge suspensionIdleTimer)
suspensionIdleTimer - started (ticking) TimerGauge that measures how long
the default action was suspended/idling. If mailbox loop is busy processing mails,
this timer should be paused for the time required to process the mails.MailboxDefaultAction.Suspension suspendDefaultAction()
suspendDefaultAction(TimerGauge) but without any associated timer
measuring the idle time.Copyright © 2014–2021 The Apache Software Foundation. All rights reserved.