org.hibernate.search.backend.impl

## Interface StreamingOperationExecutor

-     public interface StreamingOperationExecutor

  Sends a single operation to the related backends, considering the sharding strategy. This delegates to `IndexManager.performStreamOperation(LuceneWork, IndexingMonitor, boolean)` so it's suited for streams of many LuceneWork operations which don't need strict ordering.
  Author:
    Sanne Grinovero

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `performStreamOperation(LuceneWork work, IndexManagerSelector selector, IndexingMonitor monitor, boolean forceAsync)` The LuceneWork must be applied to different indexes.

- - ### Method Detail

    - #### performStreamOperation

          void performStreamOperation(LuceneWork work,
                                      IndexManagerSelector selector,
                                      IndexingMonitor monitor,
                                      boolean forceAsync)

      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
        `monitor` - to receive notification of indexing operations
        `forceAsync` - if true, the invocation will not block to wait for it being applied. When false this will depend on the backend configuration.

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