org.elasticsearch.cluster.routing.allocation
Class AllocationExplanation

java.lang.Object
  extended by org.elasticsearch.cluster.routing.allocation.AllocationExplanation
All Implemented Interfaces:
Streamable

public class AllocationExplanation
extends Object
implements Streamable


Nested Class Summary
static class AllocationExplanation.NodeExplanation
           
 
Field Summary
static AllocationExplanation EMPTY
           
 
Constructor Summary
AllocationExplanation()
           
 
Method Summary
 AllocationExplanation add(ShardId shardId, AllocationExplanation.NodeExplanation nodeExplanation)
           
 Map<ShardId,List<AllocationExplanation.NodeExplanation>> explanations()
           
static AllocationExplanation readAllocationExplanation(StreamInput in)
           
 void readFrom(StreamInput in)
           
 void writeTo(StreamOutput out)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

EMPTY

public static final AllocationExplanation EMPTY
Constructor Detail

AllocationExplanation

public AllocationExplanation()
Method Detail

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.