Interface Indexer


  • public interface Indexer
    The indexer is used to interact directly with a cache's index.
    Since:
    11.0
    • Method Detail

      • run

        CompletionStage<Void> run()
        Deletes all the indexes from a cache and rebuilds them from the existing data. This operation can take a long time depending on the cache size, and searches during this process will be affected.
      • remove

        CompletionStage<Void> remove​(Class<?>... entities)
        Remove all entities of particular class from the index of a cache.
      • isRunning

        boolean isRunning()
        Returns:
        true if the indexer process was started on this node and hasn't finished yet.