org.hibernate.search.backend.impl.lucene.works

## Interface LuceneWorkExecutor

- All Known Implementing Classes:
    ByTermDeleteWorkExecutor, ByTermUpdateWorkExecutor, DeleteExtWorkExecutor, UpdateExtWorkExecutor, UpdateWorkExecutor

      public interface LuceneWorkExecutor

  LuceneWorkDelegate interface.

  Author:
    Sanne Grinovero

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `performWork(LuceneWork work, IndexWriterDelegate delegate, IndexingMonitor monitor)` Will perform work on an IndexWriter.

- - ### Method Detail

    - #### performWork

          void performWork(LuceneWork work,
                           IndexWriterDelegate delegate,
                           IndexingMonitor monitor)

      Will perform work on an IndexWriter.
      Parameters:
        `work` - the LuceneWork to apply to the IndexWriter.
        `delegate` - the IndexWriterDelegate to use.
        `monitor` - will be notified of performed operations
      Throws:
        `UnsupportedOperationException` - when the work is not compatible with an IndexWriter.

Copyright © 2006-2017 Red Hat, Inc. All Rights Reserved