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
|
Method Summary |
void |
run(org.hibernate.Session upperSession)
|
| 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,
org.hibernate.SessionFactory sessionFactory,
CountDownLatch producerEndSignal,
SearchFactoryImplementor searchFactory,
org.hibernate.CacheMode cacheMode,
BatchBackend backend,
ErrorHandler errorHandler)
run
public void run(org.hibernate.Session upperSession)
- Specified by:
run in interface SessionAwareRunnable
Copyright © 2006-2012 Hibernate. All Rights Reserved.