public class ReplicaInfo extends Object implements MapWriter
MapWriter.EntryWriter| 限定符和类型 | 字段和说明 |
|---|---|
boolean |
isLeader |
| 构造器和说明 |
|---|
ReplicaInfo(Map<String,Object> map) |
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) |
| 限定符和类型 | 方法和说明 |
|---|---|
Object |
clone() |
boolean |
equals(Object o) |
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() |
int |
hashCode() |
String |
toString() |
void |
writeMap(MapWriter.EntryWriter ew) |
_forEachEntry, _forEachEntry, _forEachEntry, _get, _get, _getStr, _getStr, _sizepublic ReplicaInfo(String name, String core, String coll, String shard, Replica.Type type, String node, Map<String,Object> vals)
public void writeMap(MapWriter.EntryWriter ew) throws IOException
writeMap 在接口中 MapWriterIOExceptionpublic 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 © 2006–2022 The Apache Software Foundation. All rights reserved.