Package | Description |
---|---|
org.elasticsearch.action.admin.cluster.reroute | |
org.elasticsearch.client |
The client module allowing to easily perform actions/operations.
|
org.elasticsearch.client.support |
Modifier and Type | Method and Description |
---|---|
ClusterRerouteRequest |
ClusterRerouteRequest.add(AllocationCommand... commands)
Adds allocation commands to be applied to the cluster.
|
ClusterRerouteRequest |
ClusterRerouteRequest.dryRun(boolean dryRun)
Sets a dry run flag (defaults to false) allowing to run the commands without
actually applying them to the cluster state, and getting the resulting cluster state back.
|
ClusterRerouteRequest |
ClusterRerouteRequest.explain(boolean explain)
Sets the explain flag, which will collect information about the reroute
request without executing the actions.
|
protected ClusterRerouteRequest |
TransportClusterRerouteAction.newRequest() |
ClusterRerouteRequest |
ClusterRerouteRequest.source(BytesReference source)
Sets the source for the request.
|
Modifier and Type | Method and Description |
---|---|
protected ClusterBlockException |
TransportClusterRerouteAction.checkBlock(ClusterRerouteRequest request,
ClusterState state) |
protected void |
TransportClusterRerouteAction.masterOperation(ClusterRerouteRequest request,
ClusterState state,
ActionListener<ClusterRerouteResponse> listener) |
Modifier and Type | Method and Description |
---|---|
static ClusterRerouteRequest |
Requests.clusterRerouteRequest() |
Modifier and Type | Method and Description |
---|---|
ActionFuture<ClusterRerouteResponse> |
ClusterAdminClient.reroute(ClusterRerouteRequest request)
Reroutes allocation of shards.
|
void |
ClusterAdminClient.reroute(ClusterRerouteRequest request,
ActionListener<ClusterRerouteResponse> listener)
Reroutes allocation of shards.
|
Modifier and Type | Method and Description |
---|---|
ActionFuture<ClusterRerouteResponse> |
AbstractClusterAdminClient.reroute(ClusterRerouteRequest request) |
void |
AbstractClusterAdminClient.reroute(ClusterRerouteRequest request,
ActionListener<ClusterRerouteResponse> listener) |
Copyright © 2009–2015. All rights reserved.