Class HttpAsyncResponseConsumerFactory.HeapBufferedResponseConsumerFactory

java.lang.Object
org.elasticsearch.client.HttpAsyncResponseConsumerFactory.HeapBufferedResponseConsumerFactory
All Implemented Interfaces:
HttpAsyncResponseConsumerFactory
Enclosing interface:
HttpAsyncResponseConsumerFactory

public static class HttpAsyncResponseConsumerFactory.HeapBufferedResponseConsumerFactory extends Object implements HttpAsyncResponseConsumerFactory
Default factory used to create instances of HttpAsyncResponseConsumer. Creates one instance of HeapBufferedAsyncResponseConsumer for each request attempt, with a configurable buffer limit which defaults to 100MB.
  • Constructor Details

    • HeapBufferedResponseConsumerFactory

      public HeapBufferedResponseConsumerFactory(int bufferLimitBytes)
  • Method Details