Uses of Class
com.mongodb.ServerAddress

Packages that use ServerAddress
com.mongodb Main package with core files. 
 

Uses of ServerAddress in com.mongodb
 

Subclasses of ServerAddress in com.mongodb
 class DBAddress
          Represents a database address
 

Methods in com.mongodb that return ServerAddress
 ServerAddress DBTCPConnector.getAddress()
           
 ServerAddress Mongo.getAddress()
          Gets the address of the current master
 ServerAddress DBCursor.getServerAddress()
          Gets the Server Address of the server that data is pulled from.
 ServerAddress DBPortPool.getServerAddress()
           
 

Methods in com.mongodb that return types with arguments of type ServerAddress
 List<ServerAddress> DBTCPConnector.getAllAddress()
          Gets the list of seed server addresses
 List<ServerAddress> Mongo.getAllAddress()
          Gets a list of all server addresses used when this Mongo was created
 List<ServerAddress> DBTCPConnector.getServerAddressList()
          Gets the list of server addresses currently seen by the connector.
 List<ServerAddress> Mongo.getServerAddressList()
          Gets the list of server addresses currently seen by the connector.
 

Methods in com.mongodb with parameters of type ServerAddress
 com.mongodb.Response DBTCPConnector.call(DB db, DBCollection coll, com.mongodb.OutMessage m, ServerAddress hostNeeded)
           
 com.mongodb.Response DBConnector.call(DB db, DBCollection coll, com.mongodb.OutMessage m, ServerAddress hostNeeded)
          does a read operation on the database
 com.mongodb.Response DBTCPConnector.call(DB db, DBCollection coll, com.mongodb.OutMessage m, ServerAddress hostNeeded, int retries)
           
 com.mongodb.Response DBConnector.call(DB db, DBCollection coll, com.mongodb.OutMessage m, ServerAddress hostNeeded, int retries)
          does a read operation on the database
 DBPortPool DBTCPConnector.getDBPortPool(ServerAddress addr)
          Gets the DBPortPool associated with a ServerAddress.
 WriteResult DBTCPConnector.say(DB db, com.mongodb.OutMessage m, WriteConcern concern, ServerAddress hostNeeded)
           
 WriteResult DBConnector.say(DB db, com.mongodb.OutMessage m, WriteConcern concern, ServerAddress hostNeeded)
          does a write operation
 void DBTCPConnector.updatePortPool(ServerAddress addr)
          Assigns a new DBPortPool for a given ServerAddress.
 

Constructors in com.mongodb with parameters of type ServerAddress
DBPort(ServerAddress addr)
          creates a new DBPort
DBTCPConnector(Mongo m, ServerAddress... all)
           
DBTCPConnector(Mongo m, ServerAddress addr)
           
Mongo(ServerAddress addr)
          Creates a Mongo instance based on a (single) mongodb node
Mongo(ServerAddress addr, MongoOptions options)
          Creates a Mongo instance based on a (single) mongo node using a given ServerAddress
Mongo(ServerAddress left, ServerAddress right)
          Creates a Mongo in paired mode.
Mongo(ServerAddress left, ServerAddress right, MongoOptions options)
          Creates a Mongo connection in paired mode.
 

Constructor parameters in com.mongodb with type arguments of type ServerAddress
DBTCPConnector(Mongo m, List<ServerAddress> all)
           
Mongo(List<ServerAddress> replicaSetSeeds)
          Creates a Mongo based on a replica set, or pair.
Mongo(List<ServerAddress> replicaSetSeeds, MongoOptions options)
          Creates a Mongo based on a replica set, or pair.