Class Violation
- java.lang.Object
-
- org.apache.solr.client.solrj.cloud.autoscaling.Violation
-
- All Implemented Interfaces:
MapSerializable
,MapWriter
,NavigableObject
public class Violation extends Object implements MapWriter
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.apache.solr.common.MapWriter
MapWriter.EntryWriter
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Violation
addReplica(org.apache.solr.client.solrj.cloud.autoscaling.Violation.ReplicaInfoAndErr r)
boolean
equals(Object that)
Clause
getClause()
List<org.apache.solr.client.solrj.cloud.autoscaling.Violation.ReplicaInfoAndErr>
getViolatingReplicas()
int
hashCode()
boolean
isLessSerious(Violation that)
boolean
isSimilarViolation(Violation that)
boolean
matchShard(String shard)
String
toString()
void
writeMap(MapWriter.EntryWriter ew)
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.apache.solr.common.NavigableObject
_forEachEntry, _forEachEntry, _forEachEntry, _get, _get, _getStr, _getStr
-
-
-
-
Method Detail
-
addReplica
public Violation addReplica(org.apache.solr.client.solrj.cloud.autoscaling.Violation.ReplicaInfoAndErr r)
-
getViolatingReplicas
public List<org.apache.solr.client.solrj.cloud.autoscaling.Violation.ReplicaInfoAndErr> getViolatingReplicas()
-
getClause
public Clause getClause()
-
matchShard
public boolean matchShard(String shard)
-
isLessSerious
public boolean isLessSerious(Violation that)
-
isSimilarViolation
public boolean isSimilarViolation(Violation that)
-
writeMap
public void writeMap(MapWriter.EntryWriter ew) throws IOException
- Specified by:
writeMap
in interfaceMapWriter
- Throws:
IOException
-
-