public class IndicesShardStoresRequest extends MasterNodeReadRequest<IndicesShardStoresRequest> implements IndicesRequest.Replaceable
IndicesShardStoresActionTransportRequest.EmptyIndicesRequest.ReplaceablelocalDEFAULT_MASTER_NODE_TIMEOUT, masterNodeTimeoutheaders| Constructor and Description |
|---|
IndicesShardStoresRequest() |
IndicesShardStoresRequest(String... indices)
Create a request for shard stores info for
indices |
| Modifier and Type | Method and Description |
|---|---|
String[] |
indices()
Returns the array of indices that the action relates to
|
IndicesShardStoresRequest |
indices(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) |
EnumSet<ClusterHealthStatus> |
shardStatuses()
Returns the shard criteria to get store information on
|
IndicesShardStoresRequest |
shardStatuses(String... shardStatuses)
Set statuses to filter shards to get stores info on.
|
ActionRequestValidationException |
validate() |
void |
writeTo(StreamOutput out) |
local, localmasterNodeTimeout, masterNodeTimeout, masterNodeTimeoutcreateTask, createTask, setParentTaskgetDescriptionremoteAddress, remoteAddresscontextSize, copyContextAndHeadersFrom, copyContextFrom, copyHeadersFrom, getContext, getFromContext, getFromContext, getHeader, getHeaders, hasHeader, hasInContext, isContextEmpty, putAllInContext, putHeader, putInContextpublic IndicesShardStoresRequest(String... indices)
indicespublic IndicesShardStoresRequest()
public IndicesShardStoresRequest shardStatuses(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(String... indices)
indices in interface IndicesRequest.Replaceablepublic EnumSet<ClusterHealthStatus> shardStatuses()
public String[] indices()
IndicesRequestindices in interface IndicesRequestpublic IndicesOptions indicesOptions()
IndicesRequestindicesOptions in interface IndicesRequestpublic ActionRequestValidationException validate()
validate in class ActionRequest<IndicesShardStoresRequest>public void writeTo(StreamOutput out) throws IOException
writeTo in interface StreamablewriteTo in class MasterNodeReadRequest<IndicesShardStoresRequest>IOExceptionpublic void readFrom(StreamInput in) throws IOException
readFrom in interface StreamablereadFrom in class MasterNodeReadRequest<IndicesShardStoresRequest>IOExceptionCopyright © 2009–2017. All rights reserved.