Class ReplicaInfo
- java.lang.Object
-
- org.apache.solr.client.solrj.cloud.autoscaling.ReplicaInfo
-
- All Implemented Interfaces:
MapSerializable,MapWriter,NavigableObject
public class ReplicaInfo extends Object implements MapWriter
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.apache.solr.common.MapWriter
MapWriter.EntryWriter
-
-
Field Summary
Fields Modifier and Type Field Description booleanisLeader
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Objectclone()booleangetBool(String name, boolean defValue)StringgetCollection()StringgetCore()SolrCore name.StringgetName()Replica "coreNode" name.StringgetNode()StringgetShard()Replica.StategetState()Replica.TypegetType()ObjectgetVariable(String name)ObjectgetVariable(String name, Object defValue)Map<String,Object>getVariables()StringtoString()voidwriteMap(MapWriter.EntryWriter ew)-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.apache.solr.common.NavigableObject
_forEachEntry, _forEachEntry, _forEachEntry, _get, _get, _getStr, _getStr
-
-
-
-
Method Detail
-
writeMap
public void writeMap(MapWriter.EntryWriter ew) throws IOException
- Specified by:
writeMapin interfaceMapWriter- Throws:
IOException
-
getName
public String getName()
Replica "coreNode" name.
-
getCore
public String getCore()
SolrCore name.
-
getCollection
public String getCollection()
-
getShard
public String getShard()
-
getType
public Replica.Type getType()
-
getState
public Replica.State getState()
-
getBool
public boolean getBool(String name, boolean defValue)
-
getNode
public String getNode()
-
-