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
-
Field Summary
Fields inherited from class org.elasticsearch.action.ActionRequestBuilder
action, client, request
-
Constructor Summary
ModifierConstructorDescriptionprotected
AcknowledgedRequestBuilder(ElasticsearchClient client, ActionType<Response> action, Request request)
-
Method Summary
Modifier and TypeMethodDescriptionsetTimeout(String timeout)
Timeout to wait for the operation to be acknowledged by current cluster nodes.setTimeout(org.elasticsearch.core.TimeValue timeout)
Sets the maximum wait for acknowledgement from other nodesMethods inherited from class org.elasticsearch.action.support.master.MasterNodeOperationRequestBuilder
setMasterNodeTimeout, setMasterNodeTimeout
-
Constructor Details
-
AcknowledgedRequestBuilder
protected AcknowledgedRequestBuilder(ElasticsearchClient client, ActionType<Response> action, Request request)
-
-
Method Details
-
setTimeout
Sets the maximum wait for acknowledgement from other nodes -
setTimeout
Timeout to wait for the operation to be acknowledged by current cluster nodes. Defaults to10s
.
-