document pool initialisation

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/sqlclient/trunk@37952 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
rfm 2014-06-20 05:21:58 +00:00
parent c84e989ab2
commit cf52190f0f

View file

@ -1412,8 +1412,15 @@ SQLCLIENT_PRIVATE
}
/**
* Calls -initWithConfiguration:name:pool: passing NO to say the client is
* not in a pool.
* Creates a pool of clients using a single client configuration.<br />
* Calls -initWithConfiguration:name:pool: (passing NO to say the client
* is not in a pool) top create each client.<br />
* The value of maxConnections is the size of the pool (ie the number of
* clients created) and thus the maximum number of concurrent connections
* to the database server.<br />
* The value of minConnections is the minimum number of connected clients
* normally expected to be in the pool. The pool tries to ensure that it
* doesn't contain more than this number of idle connected clients.
*/
- (id) initWithConfiguration: (NSDictionary*)config
name: (NSString*)reference