Interface IndexTask<T>

Type Parameters:
T - type of indexed objects
All Known Subinterfaces:
SerializableIndexTask<T>
All Known Implementing Classes:
Indexer.ReIndexAllTask
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@Beta @FunctionalInterface public interface IndexTask<T>
A task which updates an index.
Since:
2.23.0
  • Method Summary

    Modifier and Type
    Method
    Description
    default void
    This method is called after work is committed to the index.
    void
    update(Index<T> index)
    Execute operations on the index.
  • Method Details

    • update

      void update(Index<T> index)
      Execute operations on the index.
    • afterUpdate

      default void afterUpdate()
      This method is called after work is committed to the index.