Author: rfm
Date: Fri Jun 20 07:21:58 2014
New Revision: 37952
URL: http://svn.gna.org/viewcvs/gnustep?rev=37952&view=rev
Log:
document pool initialisation
Modified:
libs/sqlclient/trunk/SQLClient.h
Modified: libs/sqlclient/trunk/SQLClient.h
URL:
http://svn.gna.org/viewcvs/gnustep/libs/sqlclient/trunk/SQLClient.h?rev=37952&r1=37951&r2=37952&view=diff
==============================================================================
--- libs/sqlclient/trunk/SQLClient.h (original)
+++ libs/sqlclient/trunk/SQLClient.h Fri Jun 20 07:21:58 2014
@@ -1412,8 +1412,15 @@
}
/**
- * 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
_______________________________________________
Gnustep-cvs mailing list
[email protected]
https://mail.gna.org/listinfo/gnustep-cvs