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.lucene.works
Interface LuceneWorkDelegate

All Known Implementing Classes:
  DeleteExtWorkDelegate

    public interface LuceneWorkDelegate

Author:
  Sanne Grinovero

Method Summary
`void` | `logWorkDone(LuceneWork work, MassIndexerProgressMonitor monitor)` Used for stats and performance counters, use the monitor to keep track of activity done on the index.
`void` | `performWork(LuceneWork work, org.apache.lucene.index.IndexWriter writer)` Will perform work on an IndexWriter.

Method Detail

### performWork

    void performWork(LuceneWork work,
                     org.apache.lucene.index.IndexWriter writer)

  Will perform work on an IndexWriter.

  Parameters:
    `work` - the LuceneWork to apply to the IndexWriter.
    `writer` - the IndexWriter to use.
  Throws:
    `java.lang.UnsupportedOperationException` - when the work is not compatible with an IndexWriter.

### logWorkDone

    void logWorkDone(LuceneWork work,
                     MassIndexerProgressMonitor monitor)

  Used for stats and performance counters, use the monitor to keep track of activity done on the index.

  Parameters:
    `work` - the work which was done.
    `monitor` - the monitor tracking activity.

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.