From ade1d641614b3f9d0b722b2ef4f8d52ce938cb41 Mon Sep 17 00:00:00 2001 From: Kristina Chodorow Date: Fri, 8 Jul 2011 21:02:27 +0000 Subject: [PATCH] added example and "see also" section git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@313080 c90b9560-bf6c-de11-be94-00142212c4b1 --- reference/mongo/mongo/getpoolsize.xml | 56 +++++++++++++++++++++++++-- 1 file changed, 52 insertions(+), 4 deletions(-) diff --git a/reference/mongo/mongo/getpoolsize.xml b/reference/mongo/mongo/getpoolsize.xml index 44ddd4d610..5c23ce046a 100644 --- a/reference/mongo/mongo/getpoolsize.xml +++ b/reference/mongo/mongo/getpoolsize.xml @@ -6,26 +6,74 @@ Mongo::getPoolSize Get pool size for connection pools - + &reftitle.description; - public intMongo::getPoolSize + public static intMongo::getPoolSize - + &reftitle.parameters; &no.function.parameters; - + &reftitle.returnvalues; Returns the current pool size. + + &reftitle.examples; + + Changing pool size + + This returns the default pool size, sets a new pool size, then prints the + new pool size and the pool debugging information. Note that changing the + pool size only affects new connection pools, it does not change old ones. + + + +]]> + + + + + + &reftitle.seealso; + + + Mongo::setPoolSize + Mongo::poolDebug + The connection documentation. + + + +