Class BatchCoordinator
java.lang.Object
org.hibernate.search.batchindexing.BatchCoordinator
- All Implemented Interfaces:
Runnable
Makes sure that several different BatchIndexingWorkspace(s)
can be started concurrently, sharing the same batch-backend
and IndexWriters.
-
Constructor Summary
ConstructorsConstructorDescriptionBatchCoordinator(Set<Class<?>> rootEntities, SearchFactoryImplementor searchFactoryImplementor, org.hibernate.SessionFactory sessionFactory, int objectLoadingThreads, int collectionLoadingThreads, org.hibernate.CacheMode cacheMode, int objectLoadingBatchSize, long objectsLimit, boolean optimizeAtEnd, boolean purgeAtStart, boolean optimizeAfterPurge, MassIndexerProgressMonitor monitor, Integer writerThreads) -
Method Summary
-
Constructor Details
-
BatchCoordinator
public BatchCoordinator(Set<Class<?>> rootEntities, SearchFactoryImplementor searchFactoryImplementor, org.hibernate.SessionFactory sessionFactory, int objectLoadingThreads, int collectionLoadingThreads, org.hibernate.CacheMode cacheMode, int objectLoadingBatchSize, long objectsLimit, boolean optimizeAtEnd, boolean purgeAtStart, boolean optimizeAfterPurge, MassIndexerProgressMonitor monitor, Integer writerThreads)
-
-
Method Details