com.mongodb
Interface DBConnector


public interface DBConnector


Method Summary
 com.mongodb.Response call(DB db, DBCollection coll, com.mongodb.OutMessage m)
           
 com.mongodb.Response call(DB db, DBCollection coll, com.mongodb.OutMessage m, ServerAddress hostNeeded)
           
 com.mongodb.Response call(DB db, DBCollection coll, com.mongodb.OutMessage m, ServerAddress hostNeeded, int retries)
           
 boolean isOpen()
           
 void requestDone()
           
 void requestEnsureConnection()
           
 void requestStart()
           
 WriteResult say(DB db, com.mongodb.OutMessage m, WriteConcern concern)
           
 WriteResult say(DB db, com.mongodb.OutMessage m, WriteConcern concern, ServerAddress hostNeeded)
           
 

Method Detail

requestStart

void requestStart()

requestDone

void requestDone()

requestEnsureConnection

void requestEnsureConnection()

say

WriteResult say(DB db,
                com.mongodb.OutMessage m,
                WriteConcern concern)
                throws MongoException
Throws:
MongoException

say

WriteResult say(DB db,
                com.mongodb.OutMessage m,
                WriteConcern concern,
                ServerAddress hostNeeded)
                throws MongoException
Throws:
MongoException

call

com.mongodb.Response call(DB db,
                          DBCollection coll,
                          com.mongodb.OutMessage m)
                          throws MongoException
Throws:
MongoException

call

com.mongodb.Response call(DB db,
                          DBCollection coll,
                          com.mongodb.OutMessage m,
                          ServerAddress hostNeeded)
                          throws MongoException
Throws:
MongoException

call

com.mongodb.Response call(DB db,
                          DBCollection coll,
                          com.mongodb.OutMessage m,
                          ServerAddress hostNeeded,
                          int retries)
                          throws MongoException
Throws:
MongoException

isOpen

boolean isOpen()