Package org.apache.flink.streaming.runtime.tasks.mailbox
-
Interface Summary Interface Description MailboxDefaultAction Interface for the default action that is repeatedly invoked in the mailbox-loop.MailboxDefaultAction.Controller This controller is a feedback interface for the default action to interact with the mailbox execution.MailboxDefaultAction.Suspension Represents the suspended state of aMailboxDefaultAction
, ready to resume.MailboxExecutorFactory A factory for creating mailbox executors with a given priority.PeriodTimer Interface for the measurement of the period of time.TaskMailbox A task mailbox provides read and write access to a mailbox and has a lifecycle of open -> (quiesced) -> closed. -
Class Summary Class Description GaugePeriodTimer Implementation ofPeriodTimer
based onTimerGauge
.Mail An executable bound to a specific operator in the chain, such that it can be picked for downstream mailbox.MailboxExecutorImpl Implementation of an executor service build around a mailbox-based execution model.MailboxMetricsController Mailbox metrics controller class.MailboxProcessor This class encapsulates the logic of the mailbox-based execution model.MailboxProcessor.MailboxController Implementation ofMailboxDefaultAction.Controller
that is connected to aMailboxProcessor
instance.TaskMailboxImpl Implementation ofTaskMailbox
in aBlockingQueue
fashion and tailored towards our use case with multiple writers and single reader. -
Enum Summary Enum Description TaskMailbox.State This enum represents the states of the mailbox lifecycle. -
Exception Summary Exception Description TaskMailbox.MailboxClosedException Exception thrown whenTaskMailbox
is closed.