Class HttpAsyncResponseConsumerFactory.BasicAsyncResponseConsumerFactory

java.lang.Object
co.elastic.clients.transport.rest5_client.low_level.HttpAsyncResponseConsumerFactory.BasicAsyncResponseConsumerFactory
All Implemented Interfaces:
HttpAsyncResponseConsumerFactory
Enclosing interface:
HttpAsyncResponseConsumerFactory

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

    • BasicAsyncResponseConsumerFactory

      public BasicAsyncResponseConsumerFactory(int bufferLimit)
  • Method Details