org.elasticsearch.cluster.routing.allocation
Class AllocationExplanation
java.lang.Object
org.elasticsearch.cluster.routing.allocation.AllocationExplanation
- All Implemented Interfaces:
- Streamable
public class AllocationExplanation
- extends 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 Map<ShardId,List<AllocationExplanation.NodeExplanation>> explanations()
readAllocationExplanation
public static AllocationExplanation readAllocationExplanation(StreamInput in)
throws IOException
- Throws:
IOException
readFrom
public void readFrom(StreamInput in)
throws IOException
- Specified by:
readFrom
in interface Streamable
- Throws:
IOException
writeTo
public void writeTo(StreamOutput out)
throws IOException
- Specified by:
writeTo
in interface Streamable
- Throws:
IOException
Copyright © 2009-2012. All Rights Reserved.