Interface IndexerListener

All Known Implementing Classes:
DefaultIndexerListener, TimelyIndexerListenerProxy

public interface IndexerListener
A listener for update events concerning an Indexer.
  • Method Summary

    Modifier and Type
    Method
    Description
     
    void
    notifyIndexerUpdate(Direction direction, Tuple updateElement, Tuple signature, boolean change, Timestamp timestamp)
    Notifies recipient that the indexer has just received an update.
  • Method Details

    • notifyIndexerUpdate

      void notifyIndexerUpdate(Direction direction, Tuple updateElement, Tuple signature, boolean change, Timestamp timestamp)
      Notifies recipient that the indexer has just received an update. Contract: indexer already reflects the updated state.
      Parameters:
      direction - the direction of the update.
      updateElement - the tuple that was updated.
      signature - the signature of the tuple according to the indexer's mask.
      change - whether this was the first inserted / last revoked update element with this particular signature.
      Since:
      2.4
    • getOwner

      Node getOwner()