org.hibernate.search.backend.impl

## Interface TransactionalOperationExecutor

-     public interface TransactionalOperationExecutor

  Visitor interface to apply the configured sharding strategy to a list of LuceneWork; this list is usually the set of operations to be applied in a transactional context.
  Author:
    Sanne Grinovero

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `performOperation(LuceneWork work, IndexManagerSelector selector, WorkQueuePerIndexSplitter context)` The LuceneWork must be applied to different indexes.

- - ### Method Detail

    - #### performOperation

          void performOperation(LuceneWork work,
                                IndexManagerSelector selector,
                                WorkQueuePerIndexSplitter context)

      The LuceneWork must be applied to different indexes.
      Parameters:
        `work` - the work to split.
        `selector` - the index manager selector used to route works to the relevant index managers
        `context` - the transactional context where the pending changes are stored

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