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 BatchLuceneWorkQueue

    java.lang.Object
      org.hibernate.search.backend.impl.BatchLuceneWorkQueue

All Implemented Interfaces:
  WorkQueue

    public class BatchLuceneWorkQueue

extends Object
implements WorkQueue

Author:
  Emmanuel Bernard

Constructor Summary
`BatchLuceneWorkQueue(Map<Class,DocumentBuilder<Object>> documentBuilders, Map<DirectoryProvider,java.util.concurrent.locks.ReentrantLock> lockableDirectoryProviders)`

Method Summary
`void` | `add(Work work)` Add a work
`void` | `cancelWork()` Rollback works
`void` | `performWork()` Execute works

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

Constructor Detail

### BatchLuceneWorkQueue

    public BatchLuceneWorkQueue(Map<Class,DocumentBuilder<Object>> documentBuilders,
                                Map<DirectoryProvider,java.util.concurrent.locks.ReentrantLock> lockableDirectoryProviders)

Method Detail

### add

    public void add(Work work)

  Description copied from interface: `WorkQueue`
  Add a work

  Specified by:
    `add` in interface `WorkQueue`

### performWork

    public void performWork()

  Description copied from interface: `WorkQueue`
  Execute works

  Specified by:
    `performWork` in interface `WorkQueue`

### cancelWork

    public void cancelWork()

  Description copied from interface: `WorkQueue`
  Rollback works

  Specified by:
    `cancelWork` in interface `WorkQueue`

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