update : 2015.11.03
php.shukuma.com

검색:
 
 
The MongoDB\Driver\Server class

The MongoDB\Driver\Server class

(mongodb >=0.2.0)

소개

클래스 개요

final MongoDB\Driver\Server {
/* Constants */
const integer TYPE_MONGOS = 1 ;
const integer TYPE_STANDALONE = 2 ;
const integer TYPE_ARBITER = 3 ;
const integer TYPE_SECONDARY = 4 ;
const integer TYPE_PRIMARY = 5 ;
/* 메소드 */
final public __construct ( string $host , string $port [, array $options [, array $driverOptions ]] )
final public ReturnType executeBulkWrite ( string $namespace , BulkWrite $zwrite )
final public ReturnType executeCommand ( string $db , Command $command )
final public ReturnType executeQuery ( string $namespace , Query $zquery )
final public ReturnType getHost ( void )
final public ReturnType getInfo ( void )
final public ReturnType getLatency ( void )
final public ReturnType getPort ( void )
final public ReturnType getState ( void )
final public ReturnType getType ( void )
final public ReturnType isDelayed ( void )
final public ReturnType isPassive ( void )
}

예약 상수

MongoDB\Driver\Server::TYPE_MONGOS

MongoDB\Driver\Server::TYPE_STANDALONE

MongoDB\Driver\Server::TYPE_ARBITER

MongoDB\Driver\Server::TYPE_SECONDARY

MongoDB\Driver\Server::TYPE_PRIMARY

Table of Contents