« PHP 8.3 Manual トップ
著作権 »
per page, with , order by , clip by
Results of 1 - 10 of about 57 for secondary (0.002 sec.)
The MongoDB\Driver\ReadPreference class 12027
« MongoDB\Driver\WriteConcern::isDefault MongoDB\Driver\ReadPreference::bsonSerialize » PHP Manual MongoDB\Driver The MongoDB\Driver\ReadPreference class 検索 The MongoDB\Driver\ReadPreference class (mongodb >=1.0.0) はじめに クラス概要 fin ... ect $ hedge ; /* 定数 */ const string PRIMARY = primary ; const string PRIMARY_PREFERRED = primaryPreferred ; const string SECONDARY = secondary ; const string SECONDARY_PREFERRED = secondaryPreferred ; const string NEAREST = nearest ; const int NO_MAX_ST ... tring final public function getTagSets (): array } プロパティ mode The read preference mode as a string (e.g. "primary" , "secondary" ). tags The tag set list used by the read preference, or null if no tag sets were specified. maxStalenessSeconds The maxi ... nce::PRIMARY_PREFERRED In most situations, operations read from the primary but if it is unavailable, operations read from secondary members. MongoDB\Driver\ReadPreference::SECONDARY All operations read from the secondary members of the replica set. Mongo ...
https://man.mtool.work/php/8.3/class.mongodb-driver-readpreference.html
The MongoDB\Driver\ReadPreference class 12027
« MongoDB\Driver\WriteConcern::isDefault MongoDB\Driver\ReadPreference::bsonSerialize » PHP Manual MongoDB\Driver The MongoDB\Driver\ReadPreference class 検索 The MongoDB\Driver\ReadPreference class (mongodb >=1.0.0) はじめに クラス概要 fin ... ect $ hedge ; /* 定数 */ const string PRIMARY = primary ; const string PRIMARY_PREFERRED = primaryPreferred ; const string SECONDARY = secondary ; const string SECONDARY_PREFERRED = secondaryPreferred ; const string NEAREST = nearest ; const int NO_MAX_ST ... tring final public function getTagSets (): array } プロパティ mode The read preference mode as a string (e.g. "primary" , "secondary" ). tags The tag set list used by the read preference, or null if no tag sets were specified. maxStalenessSeconds The maxi ... nce::PRIMARY_PREFERRED In most situations, operations read from the primary but if it is unavailable, operations read from secondary members. MongoDB\Driver\ReadPreference::SECONDARY All operations read from the secondary members of the replica set. Mongo ...
https://man.mtool.work/php/8.3/class.mongodb-driver-readpreference.html
Create a new ReadPreference 11439
« MongoDB\Driver\ReadPreference::bsonSerialize MongoDB\Driver\ReadPreference::getHedge » PHP Manual MongoDB\Driver\ReadPreference Create a new ReadPreference 検索 MongoDB\Driver\ReadPreference::__construct (mongodb >=1.0.0) MongoDB\Driver\R ... DB. "primaryPreferred" In most situations, operations read from the primary but if it is unavailable, operations read from secondary members. "secondary" All operations read from the secondary members of the replica set. "secondaryPreferred" In most situa ... tions, operations read from secondary members but if no secondary members are available, operations read from the primary. "nearest" Operations read from member ... nd may be used as a fallback. Tags are not compatible with the "primary" mode and, in general, only apply when selecting a secondary member of a set for a read operation. However, the "nearest" mode, when combined with a tag set, selects the matching memb ...
https://man.mtool.work/php/8.3/mongodb-driver-readpreference.construct.html
Create a new ReadPreference 11439
« MongoDB\Driver\ReadPreference::bsonSerialize MongoDB\Driver\ReadPreference::getHedge » PHP Manual MongoDB\Driver\ReadPreference Create a new ReadPreference 検索 MongoDB\Driver\ReadPreference::__construct (mongodb >=1.0.0) MongoDB\Driver\R ... DB. "primaryPreferred" In most situations, operations read from the primary but if it is unavailable, operations read from secondary members. "secondary" All operations read from the secondary members of the replica set. "secondaryPreferred" In most situa ... tions, operations read from secondary members but if no secondary members are available, operations read from the primary. "nearest" Operations read from member ... nd may be used as a fallback. Tags are not compatible with the "primary" mode and, in general, only apply when selecting a secondary member of a set for a read operation. However, the "nearest" mode, when combined with a tag set, selects the matching memb ...
https://man.mtool.work/php/8.3/mongodb-driver-readpreference.construct.html
Returns an object for BSON serialization 9751
« MongoDB\Driver\ReadPreference MongoDB\Driver\ReadPreference::__construct » PHP Manual MongoDB\Driver\ReadPreference Returns an object for BSON serialization 検索 MongoDB\Driver\ReadPreference::bsonSerialize (mongodb >=1.2.0) MongoDB\Drive ... s)#2 (1) { ["mode"]=> string(7) "primary" } { "mode" : "primary" } 例2 MongoDB\Driver\ReadPreference::bsonSerialize() with secondary read preference and tag sets <?php $rp = new MongoDB\Driver\ReadPreference ( MongoDB\Driver\ReadPreference :: SECONDARY , ... oRelaxedExtendedJSON (); ?> 上の例の出力は、 たとえば以下のようになります。 object(stdClass)#2 (2) { ["mode"]=> string(9) "secondary" ["tags"]=> array(3) { [0]=> object(stdClass)#1 (1) { ["dc"]=> string(2) "ny" } [1]=> object(stdClass)#5 (2) { ["dc"]=> st ... ring(2) "sf" ["use"]=> string(9) "reporting" } [2]=> object(stdClass)#4 (0) { } } } { "mode" : "secondary", "tags" : [ { "dc" : "ny" }, { "dc" : "sf", "use" : "reporting" }, { } ] } 例3 MongoDB\Driver\ReadPreference::bsonSeriali ...
https://man.mtool.work/php/8.3/mongodb-driver-readpreference.bsonserialize.html
Returns an object for BSON serialization 9751
« MongoDB\Driver\ReadPreference MongoDB\Driver\ReadPreference::__construct » PHP Manual MongoDB\Driver\ReadPreference Returns an object for BSON serialization 検索 MongoDB\Driver\ReadPreference::bsonSerialize (mongodb >=1.2.0) MongoDB\Drive ... s)#2 (1) { ["mode"]=> string(7) "primary" } { "mode" : "primary" } 例2 MongoDB\Driver\ReadPreference::bsonSerialize() with secondary read preference and tag sets <?php $rp = new MongoDB\Driver\ReadPreference ( MongoDB\Driver\ReadPreference :: SECONDARY , ... oRelaxedExtendedJSON (); ?> 上の例の出力は、 たとえば以下のようになります。 object(stdClass)#2 (2) { ["mode"]=> string(9) "secondary" ["tags"]=> array(3) { [0]=> object(stdClass)#1 (1) { ["dc"]=> string(2) "ny" } [1]=> object(stdClass)#5 (2) { ["dc"]=> st ... ring(2) "sf" ["use"]=> string(9) "reporting" } [2]=> object(stdClass)#4 (0) { } } } { "mode" : "secondary", "tags" : [ { "dc" : "ny" }, { "dc" : "sf", "use" : "reporting" }, { } ] } 例3 MongoDB\Driver\ReadPreference::bsonSeriali ...
https://man.mtool.work/php/8.3/mongodb-driver-readpreference.bsonserialize.html
Checks if this server is a secondary member of a replica set 9251
« MongoDB\Driver\Server::isPrimary MongoDB\Driver\ServerDescription » PHP Manual MongoDB\Driver\Server Checks if this server is a secondary member of a replica set 検索 MongoDB\Driver\Server::isSecondary (mongodb >=1.0.0) MongoDB\Driver\Ser ... ver::isSecondary — Checks if this server is a secondary member of a replica set 説明 final public function MongoDB\Driver\Server::isSeconda ... ry (): bool Returns whether this server is a » secondary member of a replica set. パラメータ この関数にはパラメータはありません。 戻り値 Returns true if this server is a secondary ... er\Server::getInfo() - Returns an array of information describing this server 関連キーワード: MongoDB Driver server Server secondary member replica set Checks isSecondary Returns パラメータ isPrimary Search ServerDescription mongodb final function bool wh ...
https://man.mtool.work/php/8.3/mongodb-driver-server.issecondary.html
Checks if this server is a secondary member of a replica set 9251
« MongoDB\Driver\Server::isPrimary MongoDB\Driver\ServerDescription » PHP Manual MongoDB\Driver\Server Checks if this server is a secondary member of a replica set 検索 MongoDB\Driver\Server::isSecondary (mongodb >=1.0.0) MongoDB\Driver\Ser ... ver::isSecondary — Checks if this server is a secondary member of a replica set 説明 final public function MongoDB\Driver\Server::isSeconda ... ry (): bool Returns whether this server is a » secondary member of a replica set. パラメータ この関数にはパラメータはありません。 戻り値 Returns true if this server is a secondary ... er\Server::getInfo() - Returns an array of information describing this server 関連キーワード: MongoDB Driver server Server secondary member replica Checks isSecondary isPrimary ServerDescription mongodb final whether otherwise Throws Exception InvalidArgu ...
https://man.mtool.work/php/8.3/mongodb-driver-server.issecondary.html
Returns the ReadPreference's "maxStalenessSeconds" option 8106
« MongoDB\Driver\ReadPreference::getHedge MongoDB\Driver\ReadPreference::getMode » PHP Manual MongoDB\Driver\ReadPreference Returns the ReadPreference's "maxStalenessSeconds" option 検索 MongoDB\Driver\ReadPreference::getMaxStalenessSeconds ... ference::getMaxStalenessSeconds() example <?php $rp = new MongoDB\Driver\ReadPreference ( MongoDB\Driver\ReadPreference :: SECONDARY ); var_dump ( $rp -> getMaxStalenessSeconds ()); $rp = new MongoDB\Driver\ReadPreference ( MongoDB\Driver\ReadPreference : ... : SECONDARY , null , [ 'maxStalenessSeconds' => MongoDB\Driver\ReadPreference :: NO_MAX_STALENESS , ]); var_dump ( $rp -> getMaxStalen ... essSeconds ()); $rp = new MongoDB\Driver\ReadPreference ( MongoDB\Driver\ReadPreference :: SECONDARY , null , [ 'maxStalenessSeconds' => MongoDB\Driver\ReadPreference :: SMALLEST_MAX_STALENESS_SECONDS , ]); var_dump ( $rp - ...
https://man.mtool.work/php/8.3/mongodb-driver-readpreference.getmaxstalenessseco...
Returns the ReadPreference's "maxStalenessSeconds" option 8106
« MongoDB\Driver\ReadPreference::getHedge MongoDB\Driver\ReadPreference::getMode » PHP Manual MongoDB\Driver\ReadPreference Returns the ReadPreference's "maxStalenessSeconds" option 検索 MongoDB\Driver\ReadPreference::getMaxStalenessSeconds ... ference::getMaxStalenessSeconds() example <?php $rp = new MongoDB\Driver\ReadPreference ( MongoDB\Driver\ReadPreference :: SECONDARY ); var_dump ( $rp -> getMaxStalenessSeconds ()); $rp = new MongoDB\Driver\ReadPreference ( MongoDB\Driver\ReadPreference : ... : SECONDARY , null , [ 'maxStalenessSeconds' => MongoDB\Driver\ReadPreference :: NO_MAX_STALENESS , ]); var_dump ( $rp -> getMaxStalen ... essSeconds ()); $rp = new MongoDB\Driver\ReadPreference ( MongoDB\Driver\ReadPreference :: SECONDARY , null , [ 'maxStalenessSeconds' => MongoDB\Driver\ReadPreference :: SMALLEST_MAX_STALENESS_SECONDS , ]); var_dump ( $rp - ...
https://man.mtool.work/php/8.3/mongodb-driver-readpreference.getmaxstalenessseco...
PREV 1 2 3 4 5 6 NEXT