public class ReplicaInfo extends Object implements MapWriter
MapWriter.EntryWriter
Modifier and Type | Field and Description |
---|---|
boolean |
isLeader |
Constructor and Description |
---|
ReplicaInfo(String coll,
String shard,
Replica r,
Map<String,Object> vals) |
ReplicaInfo(String name,
String core,
String coll,
String shard,
Replica.Type type,
String node,
Map<String,Object> vals) |
Modifier and Type | Method and 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) |
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
_forEachEntry, _forEachEntry, _forEachEntry, _get, _get, _getStr, _getStr
public void writeMap(MapWriter.EntryWriter ew) throws IOException
writeMap
in interface MapWriter
IOException
public String getName()
public String getCore()
public String getCollection()
public String getShard()
public Replica.Type getType()
public Replica.State getState()
public boolean getBool(String name, boolean defValue)
public String getNode()
Copyright © 2000-2019 Apache Software Foundation. All Rights Reserved.