public static class IndicesShardStoresResponse.Failure extends DefaultShardOperationFailedException
ToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.Params
EMPTY_PARAMS
Constructor and Description |
---|
Failure(String nodeId,
String index,
int shardId,
Throwable reason) |
Modifier and Type | Method and Description |
---|---|
String |
nodeId() |
static IndicesShardStoresResponse.Failure |
readFailure(StreamInput in) |
void |
readFrom(StreamInput in) |
XContentBuilder |
toXContent(XContentBuilder builder,
ToXContent.Params params) |
void |
writeTo(StreamOutput out) |
getCause, index, readShardOperationFailed, reason, shardId, status, toString
public String nodeId()
public static IndicesShardStoresResponse.Failure readFailure(StreamInput in) throws IOException
IOException
public void readFrom(StreamInput in) throws IOException
readFrom
in interface Streamable
readFrom
in class DefaultShardOperationFailedException
IOException
public void writeTo(StreamOutput out) throws IOException
writeTo
in interface Streamable
writeTo
in class DefaultShardOperationFailedException
IOException
public XContentBuilder toXContent(XContentBuilder builder, ToXContent.Params params) throws IOException
toXContent
in interface ToXContent
toXContent
in class DefaultShardOperationFailedException
IOException
Copyright © 2009–2016. All rights reserved.