Package org.infinispan.query
Interface MassIndexer
-
public interface MassIndexer
Component to rebuild the indexes from the existing data. This process starts by removing all existing indexes, and then a distributed task is executed to rebuild the indexes. This task can take a long time to run, depending on data size, used stores, indexing complexity.While reindexing is being performed queries should not be executed as they will very likely miss many or all results.
- Author:
- Sanne Grinovero <sanne@hibernate.org> (C) 2012 Red Hat Inc.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
isRunning()
CompletableFuture<Void>
purge()
Deletes all the indexes and skip the reindexing.CompletableFuture<Void>
reindex(Object... keys)
void
start()
CompletableFuture<Void>
startAsync()
-
-
-
Method Detail
-
start
void start()
-
purge
CompletableFuture<Void> purge()
Deletes all the indexes and skip the reindexing.
-
startAsync
CompletableFuture<Void> startAsync()
- Returns:
CompletableFuture
-
reindex
CompletableFuture<Void> reindex(Object... keys)
-
isRunning
boolean isRunning()
- Returns:
- true if the MassIndexer process was started on this node and hasn't finished yet.
-
-