org.hibernate.search.backend.impl
Class PostTransactionWorkQueueSynchronization
java.lang.Object
org.hibernate.search.backend.impl.PostTransactionWorkQueueSynchronization
- All Implemented Interfaces:
- Synchronization
public class PostTransactionWorkQueueSynchronization
- extends Object
- implements Synchronization
Execute some work inside a transaction synchronization
- Author:
- Emmanuel Bernard
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PostTransactionWorkQueueSynchronization
public PostTransactionWorkQueueSynchronization(QueueingProcessor queueingProcessor,
WeakIdentityHashMap queuePerTransaction,
SearchFactoryImplementor searchFactoryImplementor)
- in transaction work
add
public void add(Work work)
isConsumed
public boolean isConsumed()
beforeCompletion
public void beforeCompletion()
- Specified by:
beforeCompletion
in interface Synchronization
afterCompletion
public void afterCompletion(int i)
- Specified by:
afterCompletion
in interface Synchronization
flushWorks
public void flushWorks()
Copyright © 2006-2013 Red Hat Middleware, LLC. All Rights Reserved