IndicesRequest, IndicesRequest.Replaceable, Streamable, Writeable, TaskAwareRequestpublic class IndicesShardStoresRequest extends MasterNodeReadRequest<IndicesShardStoresRequest> implements IndicesRequest.Replaceable
IndicesShardStoresActionIndicesRequest.ReplaceableTransportRequest.EmptyWriteable.Reader<V>, Writeable.Writer<V>localDEFAULT_MASTER_NODE_TIMEOUT, masterNodeTimeout| Constructor | Description |
|---|---|
IndicesShardStoresRequest() |
|
IndicesShardStoresRequest(java.lang.String... indices) |
Create a request for shard stores info for
indices |
| Modifier and Type | Method | 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.
|
getShouldStoreResultlocal, localmasterNodeTimeout, masterNodeTimeout, masterNodeTimeoutclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcreateTask, getDescription, setParentTaskremoteAddress, remoteAddressgetParentTask, 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 interface WriteablewriteTo 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