public class Violation extends Object implements MapWriter
MapWriter.EntryWriter
Modifier and Type | Method and 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) |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
_forEachEntry, _forEachEntry, _forEachEntry, _get, _get, _getStr, _getStr
public Violation addReplica(org.apache.solr.client.solrj.cloud.autoscaling.Violation.ReplicaInfoAndErr r)
public List<org.apache.solr.client.solrj.cloud.autoscaling.Violation.ReplicaInfoAndErr> getViolatingReplicas()
public Clause getClause()
public boolean matchShard(String shard)
public boolean isLessSerious(Violation that)
public boolean isSimilarViolation(Violation that)
public void writeMap(MapWriter.EntryWriter ew) throws IOException
writeMap
in interface MapWriter
IOException
Copyright © 2000-2019 Apache Software Foundation. All Rights Reserved.