public class IdentifierConsumerDocumentProducer extends Object implements SessionAwareRunnable
SessionAwareRunnable is consuming entity identifiers and
producing corresponding AddLuceneWork instances being forwarded
to the index writing backend.
It will finish when the queue it is consuming from will
signal there are no more identifiers.| Constructor and Description |
|---|
IdentifierConsumerDocumentProducer(ProducerConsumerQueue<List<Serializable>> fromIdentifierListToEntities,
MassIndexerProgressMonitor monitor,
org.hibernate.SessionFactory sessionFactory,
CountDownLatch producerEndSignal,
org.hibernate.CacheMode cacheMode,
Class<?> type,
ExtendedSearchIntegrator searchFactory,
String idName,
BatchBackend backend,
ErrorHandler errorHandler,
String tenantId) |
public IdentifierConsumerDocumentProducer(ProducerConsumerQueue<List<Serializable>> fromIdentifierListToEntities, MassIndexerProgressMonitor monitor, org.hibernate.SessionFactory sessionFactory, CountDownLatch producerEndSignal, org.hibernate.CacheMode cacheMode, Class<?> type, ExtendedSearchIntegrator searchFactory, String idName, BatchBackend backend, ErrorHandler errorHandler, String tenantId)
public void run(org.hibernate.Session upperSession)
throws Exception
run in interface SessionAwareRunnableExceptionCopyright © 2006–2015 Hibernate. All rights reserved.