org.eclipse.incquery.runtime.rete.index

## Interface IndexerListener

- All Known Implementing Classes:
    DefaultIndexerListener

      public interface IndexerListener

  A listener for update events concerning an Indexer.
  Author:
    Gabor Bergmann

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `Node` | `getOwner()`
    `void` | `notifyIndexerUpdate(Direction direction, Tuple updateElement, Tuple signature, boolean change)` Notifies recipient that the indexer has just received an update.

- - ### Method Detail

    - #### notifyIndexerUpdate

          void notifyIndexerUpdate(Direction direction,
                                   Tuple updateElement,
                                   Tuple signature,
                                   boolean change)

      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.

    - #### getOwner

          Node getOwner()