org.elasticsearch.cluster.routing.allocation
Class AllocationExplanation
java.lang.Object
org.elasticsearch.cluster.routing.allocation.AllocationExplanation
- All Implemented Interfaces:
- Streamable
public class AllocationExplanation
- extends java.lang.Object
- implements Streamable
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EMPTY
public static final AllocationExplanation EMPTY
AllocationExplanation
public AllocationExplanation()
add
public AllocationExplanation add(ShardId shardId,
AllocationExplanation.NodeExplanation nodeExplanation)
explanations
public java.util.Map<ShardId,java.util.List<AllocationExplanation.NodeExplanation>> explanations()
readAllocationExplanation
public static AllocationExplanation readAllocationExplanation(StreamInput in)
throws java.io.IOException
- Throws:
java.io.IOException
readFrom
public void readFrom(StreamInput in)
throws java.io.IOException
- Specified by:
readFrom
in interface Streamable
- Throws:
java.io.IOException
writeTo
public void writeTo(StreamOutput out)
throws java.io.IOException
- Specified by:
writeTo
in interface Streamable
- Throws:
java.io.IOException