org.eclipse.viatra.query.runtime.rete.network.mailbox

## Interface FallThroughCapableMailbox

- All Superinterfaces:
    Clearable, IGroupable, Mailbox

      public interface FallThroughCapableMailbox
      extends Mailbox

  A fall through capable mailbox can directly call the update method of its `Receiver` instead of using the standard post-deliver mailbox semantics. If the fall through flag is set to true, the mailbox uses direct delivery, otherwise it operates in the original behavior. The fall through operation is preferable whenever applicable because it improves performance. The fall through flag is controlled by the `CommunicationTracker` based on the receiver node type and network topology.
  Since:
    2.2

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `boolean` | `isFallThrough()`
    `void` | `setFallThrough(boolean fallThrough)`

    - ### Methods inherited from interface org.eclipse.viatra.query.runtime.rete.network.mailbox.Mailbox

      `deliverAll, getCurrentGroup, getReceiver, isEmpty, postMessage, setCurrentGroup`

    - ### Methods inherited from interface org.eclipse.viatra.query.runtime.matchers.util.Clearable

      `clear`

- - ### Method Detail

    - #### isFallThrough

          boolean isFallThrough()

    - #### setFallThrough

          void setFallThrough(boolean fallThrough)