mirror of
https://github.com/gnustep/libs-sqlclient.git
synced 2025-02-21 02:41:07 +00:00
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:
parent
c84e989ab2
commit
cf52190f0f
1 changed files with 9 additions and 2 deletions
11
SQLClient.h
11
SQLClient.h
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue