Save This Page
Home » hibernate-search-src-20081106 » org.hibernate » search » backend » [javadoc | source]
org.hibernate.search.backend
public interface: Worker [javadoc | source]

All Known Implementing Classes:
    TransactionalWorker

Perform work for a given session. This implementation has to be multi threaded
Method from org.hibernate.search.backend.Worker Summary:
close,   flushWorks,   initialize,   performWork
Method from org.hibernate.search.backend.Worker Detail:
 public  void close()
    clean resources This method can return exceptions
 public  void flushWorks(TransactionContext transactionContext)
    flush any work queue
 public  void initialize(Properties props,
    SearchFactoryImplementor searchFactoryImplementor)
 public  void performWork(Work work,
    TransactionContext transactionContext)