public class IdentifierConsumerEntityProducer extends Object implements SessionAwareRunnable
Runnable is consuming entity identifiers and
producing loaded detached entities for the next queue.
It will finish when the queue it is consuming from will
signal there are no more identifiers.| Constructor and Description |
|---|
IdentifierConsumerEntityProducer(ProducerConsumerQueue<List<Serializable>> fromIdentifierListToEntities,
ProducerConsumerQueue<List<?>> fromEntityToAddWork,
MassIndexerProgressMonitor monitor,
org.hibernate.SessionFactory sessionFactory,
org.hibernate.CacheMode cacheMode,
Class<?> type,
String idName,
ErrorHandler errorHandler) |
public IdentifierConsumerEntityProducer(ProducerConsumerQueue<List<Serializable>> fromIdentifierListToEntities, ProducerConsumerQueue<List<?>> fromEntityToAddWork, MassIndexerProgressMonitor monitor, org.hibernate.SessionFactory sessionFactory, org.hibernate.CacheMode cacheMode, Class<?> type, String idName, ErrorHandler errorHandler)
public void run(org.hibernate.Session upperSession)
run in interface SessionAwareRunnableCopyright © 2006–2013 Hibernate. All rights reserved.