Class IdentifierConsumerEntityProducer
java.lang.Object
org.hibernate.search.batchindexing.IdentifierConsumerEntityProducer
- All Implemented Interfaces:
SessionAwareRunnable
This Runnable is consuming entity identifiers and
producing loaded detached entities for the next queue.
It will finish when the queue it's consuming from will
signal there are no more identifiers.
-
Constructor Summary
ConstructorsConstructorDescriptionIdentifierConsumerEntityProducer(ProducerConsumerQueue<List<Serializable>> fromIdentifierListToEntities, ProducerConsumerQueue<List<?>> fromEntityToAddWork, MassIndexerProgressMonitor monitor, org.hibernate.SessionFactory sessionFactory, org.hibernate.CacheMode cacheMode, Class<?> type, String idName) -
Method Summary
-
Constructor Details
-
IdentifierConsumerEntityProducer
public IdentifierConsumerEntityProducer(ProducerConsumerQueue<List<Serializable>> fromIdentifierListToEntities, ProducerConsumerQueue<List<?>> fromEntityToAddWork, MassIndexerProgressMonitor monitor, org.hibernate.SessionFactory sessionFactory, org.hibernate.CacheMode cacheMode, Class<?> type, String idName)
-
-
Method Details
-
run
- Specified by:
runin interfaceSessionAwareRunnable
-