Class CloseIndexClusterStateUpdateRequest
java.lang.Object
org.elasticsearch.cluster.ack.ClusterStateUpdateRequest<T>
org.elasticsearch.cluster.ack.IndicesClusterStateUpdateRequest<CloseIndexClusterStateUpdateRequest>
org.elasticsearch.action.admin.indices.close.CloseIndexClusterStateUpdateRequest
- All Implemented Interfaces:
AckedRequest
public class CloseIndexClusterStateUpdateRequest
extends IndicesClusterStateUpdateRequest<CloseIndexClusterStateUpdateRequest>
Cluster state update request that allows to close one or more indices
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionlong
taskId()
taskId(long taskId)
waitForActiveShards(ActiveShardCount waitForActiveShards)
Methods inherited from class org.elasticsearch.cluster.ack.IndicesClusterStateUpdateRequest
indices, indices
Methods inherited from class org.elasticsearch.cluster.ack.ClusterStateUpdateRequest
ackTimeout, ackTimeout, masterNodeTimeout, masterNodeTimeout
-
Constructor Details
-
CloseIndexClusterStateUpdateRequest
public CloseIndexClusterStateUpdateRequest(long taskId)
-
-
Method Details
-
taskId
public long taskId() -
taskId
-
waitForActiveShards
-
waitForActiveShards
public CloseIndexClusterStateUpdateRequest waitForActiveShards(ActiveShardCount waitForActiveShards)
-