Class BaseMailboxReceiveOperator

  • All Implemented Interfaces:
    AutoCloseable, Operator<TransferableBlock>
    Direct Known Subclasses:
    MailboxReceiveOperator, SortedMailboxReceiveOperator

    public abstract class BaseMailboxReceiveOperator
    extends MultiStageOperator
    Base class to be used by the various MailboxReceiveOperators such as the sorted and non-sorted versions. This class contains the common logic needed for MailboxReceive BaseMailboxReceiveOperator receives mailbox from mailboxService from sendingStageInstances. We use sendingStageInstance to deduce mailboxId and fetch the content from mailboxService. When exchangeType is Singleton, we find the mapping mailbox for the mailboxService. If not found, use empty list. When exchangeType is non-Singleton, we pull from each instance in round-robin way to get matched mailbox content.