org.elasticsearch.cluster.routing
Class RoutingTableValidation

java.lang.Object
  extended by org.elasticsearch.cluster.routing.RoutingTableValidation
All Implemented Interfaces:
Serializable, Streamable

public class RoutingTableValidation
extends Object
implements Serializable, Streamable

See Also:
Serialized Form

Constructor Summary
RoutingTableValidation()
           
 
Method Summary
 void addFailure(String failure)
           
 void addIndexFailure(String index, String failure)
           
 List<String> allFailures()
           
 List<String> failures()
           
 List<String> indexFailures(String index)
           
 Map<String,List<String>> indicesFailures()
           
 void readFrom(StreamInput in)
           
 String toString()
           
 boolean valid()
           
 void writeTo(StreamOutput out)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

RoutingTableValidation

public RoutingTableValidation()
Method Detail

valid

public boolean valid()

allFailures

public List<String> allFailures()

failures

public List<String> failures()

indicesFailures

public Map<String,List<String>> indicesFailures()

indexFailures

public List<String> indexFailures(String index)

addFailure

public void addFailure(String failure)

addIndexFailure

public void addIndexFailure(String index,
                            String failure)

toString

public String toString()
Overrides:
toString in class Object

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.