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
Interface Worker

All Known Implementing Classes:
  TransactionalWorker

    public interface Worker

Perform work for a given session. This implementation has to be multi threaded.

Author:
  Emmanuel Bernard

Method Summary
`void` | `close()` clean resources This method can return exceptions
`void` | `flushWorks(TransactionContext transactionContext)` Flush any work queue.
`void` | `initialize(java.util.Properties props, SearchFactoryImplementor searchFactoryImplementor)`
`void` | `performWork(Work work, TransactionContext transactionContext)` Declare a work to be done within a given transaction context

Method Detail

### performWork

    void performWork(Work work,
                     TransactionContext transactionContext)

  Declare a work to be done within a given transaction context

  Parameters:
    `work` -
    `transactionContext` -

### initialize

    void initialize(java.util.Properties props,
                    SearchFactoryImplementor searchFactoryImplementor)

### close

    void close()

  clean resources This method can return exceptions

### flushWorks

    void flushWorks(TransactionContext transactionContext)

  Flush any work queue.

  Parameters:
    `transactionContext` - the current transaction (context).

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

Copyright © 2006-2010 Hibernate. All Rights Reserved.