public class IdentifierConsumerDocumentProducer extends Object implements Runnable
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,
org.hibernate.search.batchindexing.MassIndexerProgressMonitor monitor,
SessionFactory sessionFactory,
CountDownLatch producerEndSignal,
CacheMode cacheMode,
Class<?> type,
org.hibernate.search.engine.integration.impl.ExtendedSearchIntegrator searchFactory,
String idName,
org.hibernate.search.backend.spi.BatchBackend backend,
org.hibernate.search.exception.ErrorHandler errorHandler,
Integer transactionTimeout,
String tenantId) |
public IdentifierConsumerDocumentProducer(ProducerConsumerQueue<List<Serializable>> fromIdentifierListToEntities, org.hibernate.search.batchindexing.MassIndexerProgressMonitor monitor, SessionFactory sessionFactory, CountDownLatch producerEndSignal, CacheMode cacheMode, Class<?> type, org.hibernate.search.engine.integration.impl.ExtendedSearchIntegrator searchFactory, String idName, org.hibernate.search.backend.spi.BatchBackend backend, org.hibernate.search.exception.ErrorHandler errorHandler, Integer transactionTimeout, String tenantId)
Copyright © 2016 JBoss by Red Hat. All rights reserved.