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 boolean
isLeader
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Object
clone()
boolean
getBool(String name, boolean defValue)
String
getCollection()
String
getCore()
SolrCore name.String
getName()
Replica "coreNode" name.String
getNode()
String
getShard()
Replica.State
getState()
Replica.Type
getType()
Object
getVariable(String name)
Object
getVariable(String name, Object defValue)
Map<String,Object>
getVariables()
String
toString()
void
writeMap(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:
writeMap
in 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()
-
-