public class ReplicaInfo extends Object implements MapWriter
MapWriter.EntryWriter
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 |
---|---|
String |
getCollection() |
String |
getCore() |
String |
getName() |
String |
getNode() |
String |
getShard() |
Replica.State |
getState() |
Replica.Type |
getType() |
Object |
getVariable(String name) |
Map<String,Object> |
getVariables() |
String |
toString() |
void |
writeMap(MapWriter.EntryWriter ew) |
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 String getNode()
Copyright © 2000-2017 Apache Software Foundation. All Rights Reserved.