Interface RemoteReindexExtension


public interface RemoteReindexExtension
This interface provides an extension point for ReindexPlugin. This interface can be implemented to provide a custom Rest interceptor and ActionListener The Rest interceptor can be used to pre-process any reindex request and perform any action on the response. The ActionListener listens to the success and failure events on every reindex request and can be used to take any actions based on the success or failure.
  • Method Details

    • getInterceptorProvider

      ReindexRestInterceptorProvider getInterceptorProvider()
      Get an InterceptorProvider.
      Returns:
      ReindexRestInterceptorProvider implementation.
    • getRemoteReindexActionListener

      org.opensearch.core.action.ActionListener<BulkByScrollResponse> getRemoteReindexActionListener(org.opensearch.core.action.ActionListener<BulkByScrollResponse> listener, ReindexRequest reindexRequest)
      Get a wrapper of ActionListener which is can used to perform any action based on the success/failure of the remote reindex call.
      Returns:
      ActionListener wrapper implementation.