Class RestCancellableNodeClient

java.lang.Object
org.elasticsearch.client.support.AbstractClient
org.elasticsearch.client.FilterClient
org.elasticsearch.rest.action.RestCancellableNodeClient
All Implemented Interfaces:
java.io.Closeable, java.lang.AutoCloseable, Client, ElasticsearchClient, Releasable

public class RestCancellableNodeClient
extends FilterClient
A Client that cancels tasks executed locally when the provided HttpChannel is closed before completion.
  • Constructor Details

    • RestCancellableNodeClient

      public RestCancellableNodeClient​(NodeClient client, HttpChannel httpChannel)
  • Method Details