org.hibernate.search.batchindexing.impl
Class EntityConsumerLuceneWorkProducer
java.lang.Object
org.hibernate.search.batchindexing.impl.EntityConsumerLuceneWorkProducer
- All Implemented Interfaces:
- SessionAwareRunnable
public class EntityConsumerLuceneWorkProducer
- extends Object
- implements SessionAwareRunnable
Component of batch-indexing pipeline, using chained producer-consumers.
This Runnable will consume entities taken one-by-one from the queue
and produce for each entity an AddLuceneWork to the output queue.
- Author:
- Sanne Grinovero
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EntityConsumerLuceneWorkProducer
public EntityConsumerLuceneWorkProducer(ProducerConsumerQueue<List<?>> entitySource,
MassIndexerProgressMonitor monitor,
SessionFactory sessionFactory,
CountDownLatch producerEndSignal,
SearchFactoryImplementor searchFactory,
CacheMode cacheMode,
BatchBackend backend,
ErrorHandler errorHandler)
run
public void run(Session upperSession)
- Specified by:
run
in interface SessionAwareRunnable
Copyright © 2006-2012 Red Hat Middleware, LLC. All Rights Reserved