public class NodeExplanation extends java.lang.Object implements Writeable, ToXContent
Writeable.Reader<R>
ToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.Params
EMPTY_PARAMS
Constructor and Description |
---|
NodeExplanation(DiscoveryNode node,
Decision nodeDecision,
java.lang.Float nodeWeight,
IndicesShardStoresResponse.StoreStatus storeStatus,
ClusterAllocationExplanation.FinalDecision finalDecision,
java.lang.String finalExplanation,
ClusterAllocationExplanation.StoreCopy storeCopy) |
NodeExplanation(StreamInput in) |
Modifier and Type | Method and Description |
---|---|
Decision |
getDecision() |
ClusterAllocationExplanation.FinalDecision |
getFinalDecision() |
java.lang.String |
getFinalExplanation() |
DiscoveryNode |
getNode() |
ClusterAllocationExplanation.StoreCopy |
getStoreCopy() |
IndicesShardStoresResponse.StoreStatus |
getStoreStatus() |
java.lang.Float |
getWeight() |
XContentBuilder |
toXContent(XContentBuilder builder,
ToXContent.Params params) |
void |
writeTo(StreamOutput out)
Write this into the StreamOutput.
|
public NodeExplanation(DiscoveryNode node, Decision nodeDecision, java.lang.Float nodeWeight, @Nullable IndicesShardStoresResponse.StoreStatus storeStatus, ClusterAllocationExplanation.FinalDecision finalDecision, java.lang.String finalExplanation, ClusterAllocationExplanation.StoreCopy storeCopy)
public NodeExplanation(StreamInput in) throws java.io.IOException
java.io.IOException
public void writeTo(StreamOutput out) throws java.io.IOException
Writeable
public XContentBuilder toXContent(XContentBuilder builder, ToXContent.Params params) throws java.io.IOException
toXContent
in interface ToXContent
java.io.IOException
public DiscoveryNode getNode()
public Decision getDecision()
public java.lang.Float getWeight()
@Nullable public IndicesShardStoresResponse.StoreStatus getStoreStatus()
public ClusterAllocationExplanation.FinalDecision getFinalDecision()
public java.lang.String getFinalExplanation()
public ClusterAllocationExplanation.StoreCopy getStoreCopy()