Class RerouteExplanation
java.lang.Object
org.elasticsearch.cluster.routing.allocation.RerouteExplanation
- All Implemented Interfaces:
ToXContent
,ToXContentObject
Class encapsulating the explanation for a single
AllocationCommand
taken from the Deciders-
Nested Class Summary
Nested classes/interfaces inherited from interface org.elasticsearch.xcontent.ToXContent
ToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.Params
-
Field Summary
Fields inherited from interface org.elasticsearch.xcontent.ToXContent
EMPTY_PARAMS
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncommand()
static RerouteExplanation
readFrom
(StreamInput in) toXContent
(XContentBuilder builder, ToXContent.Params params) static void
writeTo
(RerouteExplanation explanation, StreamOutput out) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.elasticsearch.xcontent.ToXContentObject
isFragment
-
Constructor Details
-
RerouteExplanation
-
-
Method Details
-
command
-
decisions
-
readFrom
- Throws:
IOException
-
writeTo
- Throws:
IOException
-
toXContent
public XContentBuilder toXContent(XContentBuilder builder, ToXContent.Params params) throws IOException - Specified by:
toXContent
in interfaceToXContent
- Throws:
IOException
-