Uses of Class
org.elasticsearch.action.admin.cluster.health.ClusterHealthRequest
-
Packages that use ClusterHealthRequest Package Description org.elasticsearch.action.admin.cluster.health org.elasticsearch.client -
-
Uses of ClusterHealthRequest in org.elasticsearch.action.admin.cluster.health
Methods in org.elasticsearch.action.admin.cluster.health that return ClusterHealthRequest Modifier and Type Method Description ClusterHealthRequestClusterHealthRequest. indices(String... indices)ClusterHealthRequestClusterHealthRequest. indicesOptions(IndicesOptions indicesOptions)ClusterHealthRequestClusterHealthRequest. timeout(String timeout)ClusterHealthRequestClusterHealthRequest. timeout(TimeValue timeout)ClusterHealthRequestClusterHealthRequest. waitForActiveShards(int waitForActiveShards)A shortcut forwaitForActiveShards(ActiveShardCount)where the numerical shard count is passed in, instead of having to first callActiveShardCount.from(int)to get the ActiveShardCount.ClusterHealthRequestClusterHealthRequest. waitForActiveShards(ActiveShardCount waitForActiveShards)Sets the number of shard copies that must be active across all indices before getting the health status.ClusterHealthRequestClusterHealthRequest. waitForEvents(Priority waitForEvents)ClusterHealthRequestClusterHealthRequest. waitForGreenStatus()ClusterHealthRequestClusterHealthRequest. waitForNodes(String waitForNodes)Waits for N number of nodes.ClusterHealthRequestClusterHealthRequest. waitForNoInitializingShards(boolean waitForNoInitializingShards)Sets whether the request should wait for there to be no initializing shards before retrieving the cluster health status.ClusterHealthRequestClusterHealthRequest. waitForNoRelocatingShards(boolean waitForNoRelocatingShards)Sets whether the request should wait for there to be no relocating shards before retrieving the cluster health status.ClusterHealthRequestClusterHealthRequest. waitForStatus(ClusterHealthStatus waitForStatus)ClusterHealthRequestClusterHealthRequest. waitForYellowStatus()Methods in org.elasticsearch.action.admin.cluster.health with parameters of type ClusterHealthRequest Modifier and Type Method Description protected ClusterBlockExceptionTransportClusterHealthAction. checkBlock(ClusterHealthRequest request, ClusterState state)protected voidTransportClusterHealthAction. masterOperation(ClusterHealthRequest request, ClusterState state, ActionListener<ClusterHealthResponse> listener)protected voidTransportClusterHealthAction. masterOperation(Task task, ClusterHealthRequest request, ClusterState unusedState, ActionListener<ClusterHealthResponse> listener) -
Uses of ClusterHealthRequest in org.elasticsearch.client
Methods in org.elasticsearch.client that return ClusterHealthRequest Modifier and Type Method Description static ClusterHealthRequestRequests. clusterHealthRequest(String... indices)Creates a cluster health request.Methods in org.elasticsearch.client with parameters of type ClusterHealthRequest Modifier and Type Method Description ActionFuture<ClusterHealthResponse>ClusterAdminClient. health(ClusterHealthRequest request)The health of the cluster.voidClusterAdminClient. health(ClusterHealthRequest request, ActionListener<ClusterHealthResponse> listener)The health of the cluster.ClusterHealthResponseClusterClient. health(ClusterHealthRequest healthRequest, RequestOptions options)Get cluster health using the Cluster Health API.CancellableClusterClient. healthAsync(ClusterHealthRequest healthRequest, RequestOptions options, ActionListener<ClusterHealthResponse> listener)Asynchronously get cluster health using the Cluster Health API.
-