public class IndicesShardStoresRequest extends MasterNodeReadRequest<IndicesShardStoresRequest> implements IndicesRequest.Replaceable
IndicesShardStoresActionTransportRequest.EmptyIndicesRequest.ReplaceablelocalDEFAULT_MASTER_NODE_TIMEOUT, masterNodeTimeout| Constructor and Description |
|---|
IndicesShardStoresRequest() |
IndicesShardStoresRequest(java.lang.String... indices)
Create a request for shard stores info for
indices |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String[] |
indices()
Returns the array of indices that the action relates to
|
IndicesShardStoresRequest |
indices(java.lang.String... indices)
Sets the indices for the shard stores request
|
IndicesOptions |
indicesOptions()
Returns the indices options used to resolve indices.
|
IndicesShardStoresRequest |
indicesOptions(IndicesOptions indicesOptions)
Specifies what type of requested indices to ignore and wildcard indices expressions
By default, expands wildcards to both open and closed indices
|
void |
readFrom(StreamInput in)
Set this object's fields from a StreamInput.
|
java.util.EnumSet<ClusterHealthStatus> |
shardStatuses()
Returns the shard criteria to get store information on
|
IndicesShardStoresRequest |
shardStatuses(java.lang.String... shardStatuses)
Set statuses to filter shards to get stores info on.
|
ActionRequestValidationException |
validate() |
void |
writeTo(StreamOutput out)
Write this object's fields to a StreamOutput.
|
local, localmasterNodeTimeout, masterNodeTimeout, masterNodeTimeoutgetShouldStoreResultgetParentTask, setParentTaskremoteAddress, remoteAddressclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcreateTask, getDescription, setParentTaskpublic IndicesShardStoresRequest(java.lang.String... indices)
indicespublic IndicesShardStoresRequest()
public IndicesShardStoresRequest shardStatuses(java.lang.String... shardStatuses)
ClusterHealthStatus for details.
Defaults to "yellow" and "red" statusshardStatuses - acceptable values are "green", "yellow", "red" and "all"public IndicesShardStoresRequest indicesOptions(IndicesOptions indicesOptions)
public IndicesShardStoresRequest indices(java.lang.String... indices)
indices in interface IndicesRequest.Replaceablepublic java.util.EnumSet<ClusterHealthStatus> shardStatuses()
public java.lang.String[] indices()
IndicesRequestindices in interface IndicesRequestpublic IndicesOptions indicesOptions()
IndicesRequestindicesOptions in interface IndicesRequestpublic ActionRequestValidationException validate()
validate in class ActionRequestpublic void writeTo(StreamOutput out) throws java.io.IOException
StreamablewriteTo in interface StreamablewriteTo in class MasterNodeReadRequest<IndicesShardStoresRequest>java.io.IOExceptionpublic void readFrom(StreamInput in) throws java.io.IOException
StreamablereadFrom in interface StreamablereadFrom in class MasterNodeReadRequest<IndicesShardStoresRequest>java.io.IOException