Class AcknowledgedRequestBuilder<Request extends AcknowledgedRequest<Request>,Response extends AcknowledgedResponse,RequestBuilder extends AcknowledgedRequestBuilder<Request,Response,RequestBuilder>>

java.lang.Object
org.elasticsearch.action.ActionRequestBuilder<Request,Response>
org.elasticsearch.action.support.master.MasterNodeOperationRequestBuilder<Request,Response,RequestBuilder>
org.elasticsearch.action.support.master.AcknowledgedRequestBuilder<Request,Response,RequestBuilder>
Direct Known Subclasses:
AddIndexBlockRequestBuilder, CloseIndexRequestBuilder, ClusterRerouteRequestBuilder, ClusterUpdateSettingsRequestBuilder, CreateIndexRequestBuilder, DeleteIndexRequestBuilder, DeleteRepositoryRequestBuilder, DeleteStoredScriptRequestBuilder, IndicesAliasesRequestBuilder, OpenIndexRequestBuilder, PutMappingRequestBuilder, PutRepositoryRequestBuilder, PutStoredScriptRequestBuilder, ResizeRequestBuilder, UpdateSettingsRequestBuilder, UpgradeSettingsRequestBuilder

public abstract class AcknowledgedRequestBuilder<Request extends AcknowledgedRequest<Request>,Response extends AcknowledgedResponse,RequestBuilder extends AcknowledgedRequestBuilder<Request,Response,RequestBuilder>> extends MasterNodeOperationRequestBuilder<Request,Response,RequestBuilder>
Base request builder for master node operations that support acknowledgements
  • Constructor Details

  • Method Details

    • setTimeout

      public RequestBuilder setTimeout(org.elasticsearch.core.TimeValue timeout)
      Sets the maximum wait for acknowledgement from other nodes
    • setTimeout

      public RequestBuilder setTimeout(String timeout)
      Timeout to wait for the operation to be acknowledged by current cluster nodes. Defaults to 10s.