org.hibernate.search.batchindexing
Class EntityConsumerLuceneworkProducer
java.lang.Object
org.hibernate.search.batchindexing.EntityConsumerLuceneworkProducer
- All Implemented Interfaces:
- java.lang.Runnable
public class EntityConsumerLuceneworkProducer
- extends java.lang.Object
- implements java.lang.Runnable
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()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EntityConsumerLuceneworkProducer
public EntityConsumerLuceneworkProducer(ProducerConsumerQueue<java.util.List<?>> entitySource,
MassIndexerProgressMonitor monitor,
org.hibernate.SessionFactory sessionFactory,
java.util.concurrent.CountDownLatch producerEndSignal,
SearchFactoryImplementor searchFactory,
org.hibernate.CacheMode cacheMode,
BatchBackend backend)
run
public void run()
- Specified by:
run
in interface java.lang.Runnable
Copyright © 2006-2010 Hibernate. All Rights Reserved.