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.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 sychronization

Author:
  Emmanuel Bernard

Constructor Summary
`PostTransactionWorkQueueSynchronization(WorkQueue workQueue)`
`PostTransactionWorkQueueSynchronization(WorkQueue workQueue, WeakIdentityHashMap queuePerTransaction)`

Method Summary
`void` | `add(Work work)`
`void` | `afterCompletion(int i)`
`void` | `beforeCompletion()`
`boolean` | `isConsumed()`

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

Constructor Detail

### PostTransactionWorkQueueSynchronization

    public PostTransactionWorkQueueSynchronization(WorkQueue workQueue)

### PostTransactionWorkQueueSynchronization

    public PostTransactionWorkQueueSynchronization(WorkQueue workQueue,
                                                   WeakIdentityHashMap queuePerTransaction)

Method Detail

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

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