org.hibernate.search.batchindexing.impl
Class BatchIndexingWorkspace
java.lang.Object
org.hibernate.search.batchindexing.impl.BatchIndexingWorkspace
- All Implemented Interfaces:
- Runnable
public class BatchIndexingWorkspace
- extends Object
- implements Runnable
This runnable will prepare a pipeline for batch indexing
of entities, managing the lifecycle of several ThreadPools.
- Author:
- Sanne Grinovero
Constructor Summary |
BatchIndexingWorkspace(SearchFactoryImplementor searchFactoryImplementor,
SessionFactory sessionFactory,
Class<?> entityType,
int objectLoadingThreads,
int collectionLoadingThreads,
CacheMode cacheMode,
int objectLoadingBatchSize,
CountDownLatch endAllSignal,
MassIndexerProgressMonitor monitor,
BatchBackend backend,
long objectsLimit,
int idFetchSize)
|
Method Summary |
void |
run()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BatchIndexingWorkspace
public BatchIndexingWorkspace(SearchFactoryImplementor searchFactoryImplementor,
SessionFactory sessionFactory,
Class<?> entityType,
int objectLoadingThreads,
int collectionLoadingThreads,
CacheMode cacheMode,
int objectLoadingBatchSize,
CountDownLatch endAllSignal,
MassIndexerProgressMonitor monitor,
BatchBackend backend,
long objectsLimit,
int idFetchSize)
run
public void run()
- Specified by:
run
in interface Runnable
Copyright © 2006-2012 Red Hat Middleware, LLC. All Rights Reserved