| PHP » GoLang | login |
            register |
            
            about | 
| GoLang Mongo::getPoolSize
                                request it (657)
                            GoLang replacement for PHP's Mongo::getPoolSize
                            [edit | history] 
                             Mongo::getPoolSize(PECL mongo >=1.2.0) Mongo::getPoolSize — Get pool size for connection pools Description
   public static int Mongo::getPoolSize
    ( void
   ) Warning
    This feature has been DEPRECATED as of version 1.2.3. Relying on this feature is highly discouraged. Please use MongoPool::getSize() instead. ParametersThis function has no parameters. Return ValuesReturns the current pool size. Changelog
 
 ExamplesExample #1 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. 
<?phpSee Also
 
 | 
                    more
                     Most requested
 
                    more
                     Last requests
 |