update : 2015.11.03
php.shukuma.com

검색:
 
 
The MongoDB\Driver\ReadPreference class

The MongoDB\Driver\ReadPreference class

(mongodb >=0.2.0)

소개

클래스 개요

final MongoDB\Driver\ReadPreference {
/* Constants */
const integer RP_PRIMARY = 1 ;
const integer RP_PRIMARY_PREFERRED = 5 ;
const integer RP_SECONDARY = 2 ;
const integer RP_SECONDARY_PREFERRED = 6 ;
const integer RP_NEAREST = 10 ;
/* 메소드 */
final public __construct ( string $readPreference [, array $tagSets ] )
}

예약 상수

MongoDB\Driver\ReadPreference::RP_PRIMARY

MongoDB\Driver\ReadPreference::RP_PRIMARY_PREFERRED

MongoDB\Driver\ReadPreference::RP_SECONDARY

MongoDB\Driver\ReadPreference::RP_SECONDARY_PREFERRED

MongoDB\Driver\ReadPreference::RP_NEAREST

Table of Contents