Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## 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

Constructor Summary
`EntityConsumerLuceneworkProducer(ProducerConsumerQueue<java.lang.Object> entitySource, MassIndexerProgressMonitor monitor, org.hibernate.SessionFactory sessionFactory, java.util.concurrent.CountDownLatch producerEndSignal, SearchFactoryImplementor searchFactory, org.hibernate.CacheMode cacheMode, BatchBackend backend)`

Method Summary
`void` | `run()`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### EntityConsumerLuceneworkProducer

    public EntityConsumerLuceneworkProducer(ProducerConsumerQueue<java.lang.Object> entitySource,
                                            MassIndexerProgressMonitor monitor,
                                            org.hibernate.SessionFactory sessionFactory,
                                            java.util.concurrent.CountDownLatch producerEndSignal,
                                            SearchFactoryImplementor searchFactory,
                                            org.hibernate.CacheMode cacheMode,
                                            BatchBackend backend)

Method Detail

### run

    public void run()

  Specified by:
    `run` in interface `java.lang.Runnable`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2006-2010 Hibernate. All Rights Reserved.