All Implemented Interfaces:
Clearable, IGroupable, Mailbox

A monotonicity aware mailbox implementation. The mailbox uses an IPosetComparator to identify if a pair of REVOKE - INSERT updates represent a monotone change pair. The mailbox is used by PosetAwareReceivers.
Since:
2.0
  • Field Details

    • groupMask

      protected final TupleMask groupMask
  • Constructor Details

  • Method Details

    • postMessage

      public void postMessage(Direction direction, Tuple update, Timestamp timestamp)
      Description copied from interface: Mailbox
      Posts a new message to this mailbox.
      Parameters:
      direction - the direction of the update
      update - the update element
    • tryFindCounterPart

      protected Set<Tuple> tryFindCounterPart(Tuple first, boolean findPositiveCounterPart, boolean findAllCounterParts)
    • deliverAll

      public void deliverAll(MessageSelector kind)
      Description copied from interface: Mailbox
      Delivers all messages according to the given selector from this mailbox. The selector can also be null. In this case, no special separation is expected between the messages.
      Parameters:
      kind - the message selector
    • toString

      public String toString()
      Overrides:
      toString in class Object