Class IndexUpdater
- java.lang.Object
-
- org.infinispan.query.impl.massindex.IndexUpdater
-
public class IndexUpdater extends Object
Handle batch updates to an index.- Since:
- 7.1
- Author:
- gustavonalle
-
-
Constructor Summary
Constructors Constructor Description IndexUpdater(org.hibernate.search.spi.SearchIntegrator searchIntegrator, KeyTransformationHandler keyTransformationHandler, org.infinispan.commons.time.TimeService timeService)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidflush(Collection<org.hibernate.search.spi.IndexedTypeIdentifier> entities)voidpurge(Collection<org.hibernate.search.spi.IndexedTypeIdentifier> entities)voidupdateIndex(Object key, Object value, int segment)voidwaitForAsyncCompletion()
-
-
-
Constructor Detail
-
IndexUpdater
public IndexUpdater(org.hibernate.search.spi.SearchIntegrator searchIntegrator, KeyTransformationHandler keyTransformationHandler, org.infinispan.commons.time.TimeService timeService)
-
-
Method Detail
-
flush
public void flush(Collection<org.hibernate.search.spi.IndexedTypeIdentifier> entities)
-
purge
public void purge(Collection<org.hibernate.search.spi.IndexedTypeIdentifier> entities)
-
waitForAsyncCompletion
public void waitForAsyncCompletion()
-
-