public class IndicesShardStoresResponse extends ActionResponse implements ToXContent
IndicesShardStoresAction
Consists of IndicesShardStoresResponse.StoreStatus
s for requested indices grouped by
indices and shard ids and a list of encountered node IndicesShardStoresResponse.Failure
sModifier and Type | Class and Description |
---|---|
static class |
IndicesShardStoresResponse.Failure
Single node failure while retrieving shard store information
|
static class |
IndicesShardStoresResponse.StoreStatus
Shard store information from a node
|
TransportResponse.Empty
ToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.Params
headers
EMPTY_PARAMS
Constructor and Description |
---|
IndicesShardStoresResponse(ImmutableOpenMap<String,ImmutableOpenIntMap<List<IndicesShardStoresResponse.StoreStatus>>> storeStatuses,
List<IndicesShardStoresResponse.Failure> failures) |
Modifier and Type | Method and Description |
---|---|
List<IndicesShardStoresResponse.Failure> |
getFailures()
Returns node
IndicesShardStoresResponse.Failure s encountered
while executing the request |
ImmutableOpenMap<String,ImmutableOpenIntMap<List<IndicesShardStoresResponse.StoreStatus>>> |
getStoreStatuses()
Returns
IndicesShardStoresResponse.StoreStatus s
grouped by their index names and shard ids. |
void |
readFrom(StreamInput in) |
XContentBuilder |
toXContent(XContentBuilder builder,
ToXContent.Params params) |
void |
writeTo(StreamOutput out) |
remoteAddress, remoteAddress
contextSize, copyContextAndHeadersFrom, copyContextFrom, copyHeadersFrom, getContext, getFromContext, getFromContext, getHeader, getHeaders, hasHeader, hasInContext, isContextEmpty, putAllInContext, putHeader, putInContext
public IndicesShardStoresResponse(ImmutableOpenMap<String,ImmutableOpenIntMap<List<IndicesShardStoresResponse.StoreStatus>>> storeStatuses, List<IndicesShardStoresResponse.Failure> failures)
public ImmutableOpenMap<String,ImmutableOpenIntMap<List<IndicesShardStoresResponse.StoreStatus>>> getStoreStatuses()
IndicesShardStoresResponse.StoreStatus
s
grouped by their index names and shard ids.public List<IndicesShardStoresResponse.Failure> getFailures()
IndicesShardStoresResponse.Failure
s encountered
while executing the requestpublic void readFrom(StreamInput in) throws IOException
readFrom
in interface Streamable
readFrom
in class ActionResponse
IOException
public void writeTo(StreamOutput out) throws IOException
writeTo
in interface Streamable
writeTo
in class ActionResponse
IOException
public XContentBuilder toXContent(XContentBuilder builder, ToXContent.Params params) throws IOException
toXContent
in interface ToXContent
IOException
Copyright © 2009–2016. All rights reserved.