public class ReplicaSetStatus extends Object
Modifier and Type | Method and Description |
---|---|
ServerAddress |
getMaster() |
int |
getMaxBsonObjectSize()
Gets the maximum size for a BSON object supported by the current master server.
|
String |
getName() |
boolean |
isMaster(ServerAddress srv) |
static void |
main(String[] args) |
String |
toString() |
public String getName()
public ServerAddress getMaster()
public boolean isMaster(ServerAddress srv)
srv
- the server to comparepublic int getMaxBsonObjectSize()