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. + + + +