org.hibernate.search.elasticsearch.work.impl

## Interface ElasticsearchWorkExecutionContext

- All Known Implementing Classes:
    ForwardingElasticsearchWorkExecutionContext

      public interface ElasticsearchWorkExecutionContext

  Offers access to the execution context:
  - objects supporting the execution, such as the Elasticsearch client
  - mutable data relating to the execution, such as buffered index monitors or the list of dirty indexes.

  Implementation may not be thread-safe.

  Author:
    Yoann Rodiere

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `IndexingMonitor` | `getBufferedIndexingMonitor(IndexingMonitor indexingMonitor)`
    `ElasticsearchClient` | `getClient()`
    `GsonProvider` | `getGsonProvider()`
    `void` | `setIndexDirty(URLEncodedString indexName)`

- - ### Method Detail

    - #### getClient

          ElasticsearchClient getClient()

    - #### getGsonProvider

          GsonProvider getGsonProvider()

    - #### setIndexDirty

          void setIndexDirty(URLEncodedString indexName)

    - #### getBufferedIndexingMonitor

          IndexingMonitor getBufferedIndexingMonitor(IndexingMonitor indexingMonitor)

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