|
libmongo-client 0.1.4
|
MongoDB connection pool API public header. More...


Go to the source code of this file.
Functions | |
| mongo_sync_pool * | mongo_sync_pool_new (const gchar *host, gint port, gint nmasters, gint nslaves) |
| Create a new synchronous connection pool. | |
| void | mongo_sync_pool_free (mongo_sync_pool *pool) |
| Close and free a synchronous connection pool. | |
| mongo_sync_pool_connection * | mongo_sync_pool_pick (mongo_sync_pool *pool, gboolean want_master) |
| Pick a connection from a synchronous connection pool. | |
| gboolean | mongo_sync_pool_return (mongo_sync_pool *pool, mongo_sync_pool_connection *conn) |
| Return a connection to the synchronous connection pool. | |
MongoDB connection pool API public header.
Definition in file mongo-sync-pool.h.
1.7.4