update : 2015.11.03
php.shukuma.com검색:
|
Mongo::getPoolSize(PECL mongo >=1.2.0) Mongo::getPoolSize — Get pool size for connection pools 설명
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. 인수이 함수는 인수가 없습니다. 반환값Returns the current pool size. 변경점
예제Example #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.
<?php 참고
|