public static class IndicesShardStoresResponse.Failure extends DefaultShardOperationFailedException
ToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.Params
EMPTY_PARAMS
Constructor and Description |
---|
Failure(java.lang.String nodeId,
java.lang.String index,
int shardId,
java.lang.Throwable reason) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
nodeId() |
static IndicesShardStoresResponse.Failure |
readFailure(StreamInput in) |
void |
readFrom(StreamInput in)
Set this object's fields from a StreamInput.
|
XContentBuilder |
toXContent(XContentBuilder builder,
ToXContent.Params params) |
void |
writeTo(StreamOutput out)
Write this object's fields to a StreamOutput.
|
getCause, index, readShardOperationFailed, reason, shardId, status, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
isFragment
public Failure(java.lang.String nodeId, java.lang.String index, int shardId, java.lang.Throwable reason)
public java.lang.String nodeId()
public static IndicesShardStoresResponse.Failure readFailure(StreamInput in) throws java.io.IOException
java.io.IOException
public void readFrom(StreamInput in) throws java.io.IOException
Streamable
readFrom
in interface Streamable
readFrom
in class DefaultShardOperationFailedException
java.io.IOException
public void writeTo(StreamOutput out) throws java.io.IOException
Streamable
writeTo
in interface Streamable
writeTo
in class DefaultShardOperationFailedException
java.io.IOException
public XContentBuilder toXContent(XContentBuilder builder, ToXContent.Params params) throws java.io.IOException
toXContent
in interface ToXContent
toXContent
in class DefaultShardOperationFailedException
java.io.IOException