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 Mongo.getAddress()
          Gets the address of the current master
 ServerAddress DBTCPConnector.getAddress()
           
 ServerAddress ReplicaSetStatus.getMaster()
           
 ServerAddress DBCursor.getServerAddress()
          Gets the Server Address of the server that data is pulled from.
 ServerAddress MongoException.CursorNotFound.getServerAddress()
          The server address where the cursor is.
 ServerAddress DBPortPool.getServerAddress()
           
 ServerAddress MapReduceOutput.getServerUsed()
           
 ServerAddress CommandResult.getServerUsed()
           
 ServerAddress AggregationOutput.getServerUsed()
          returns the address of the server used to execute the aggregation
 ServerAddress DBPort.serverAddress()
           
 

Methods in com.mongodb that return types with arguments of type ServerAddress
 List<ServerAddress> Mongo.getAllAddress()
          Gets a list of all server addresses used when this Mongo was created
 List<ServerAddress> DBTCPConnector.getAllAddress()
          Gets the list of seed server addresses
 List<ServerAddress> Mongo.getServerAddressList()
          Gets the list of server addresses currently seen by the connector.
 List<ServerAddress> DBTCPConnector.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, DBDecoder decoder)
           
 com.mongodb.Response DBConnector.call(DB db, DBCollection coll, com.mongodb.OutMessage m, ServerAddress hostNeeded, DBDecoder decoder)
          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
 com.mongodb.Response DBTCPConnector.call(DB db, DBCollection coll, com.mongodb.OutMessage m, ServerAddress hostNeeded, int retries, ReadPreference readPref, DBDecoder decoder)
           
 com.mongodb.Response DBConnector.call(DB db, DBCollection coll, com.mongodb.OutMessage m, ServerAddress hostNeeded, int retries, ReadPreference readPref, DBDecoder decoder)
          does a read operation on the database
 DBPortPool DBTCPConnector.getDBPortPool(ServerAddress addr)
          Gets the DBPortPool associated with a ServerAddress.
 boolean ReplicaSetStatus.isMaster(ServerAddress srv)
           
 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)
          Deprecated. 
Mongo(ServerAddress left, ServerAddress right, MongoOptions options)
          Deprecated. 
MongoClient(ServerAddress addr)
          Creates a Mongo instance based on a (single) mongodb node
MongoClient(ServerAddress addr, MongoClientOptions options)
          Creates a Mongo instance based on a (single) mongo node using a given ServerAddress and default options.
MongoException.CursorNotFound(long cursorId, ServerAddress serverAddress)
           
 

Constructor parameters in com.mongodb with type arguments of type ServerAddress
DBTCPConnector(Mongo m, List<ServerAddress> all)
           
Mongo(List<ServerAddress> seeds)
          Creates a Mongo based on a list of replica set members or a list of mongos.
Mongo(List<ServerAddress> seeds, MongoOptions options)
          Creates a Mongo based on a list of replica set members or a list of mongos.
MongoClient(List<ServerAddress> seeds)
          Creates a Mongo based on a list of replica set members or a list of mongos.
MongoClient(List<ServerAddress> seeds, MongoClientOptions options)
          Creates a Mongo based on a list of replica set members or a list of mongos.