Package org.eclipse.viatra.query.runtime.rete.network.indexer

## Interface MessageIndexer

- All Superinterfaces:
    `Clearable`
  All Known Implementing Classes:
    `DefaultMessageIndexer`, `GroupBasedMessageIndexer`

      public interface MessageIndexer
      extends Clearable

  A message indexer is used by `Mailbox`es to index their contents.
  Since:
    2.0

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `void` | `delete​(Tuple update)` |
    `int` | `getCount​(Tuple update)` |
    `void` | `insert​(Tuple update)` |
    `boolean` | `isEmpty()` |
    `void` | `update​(Tuple update, int delta)` |

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

      `clear`

- - ### Method Detail

    - #### insert

          void insert​(Tuple update)

    - #### delete

          void delete​(Tuple update)

    - #### update

          void update​(Tuple update,
                      int delta)

    - #### isEmpty

          boolean isEmpty()

    - #### getCount

          int getCount​(Tuple update)