Results of 1 - 10 of about 46 for nearest (0.002 sec.)
- Create a new ReadPreference 11548
- « 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
... ions, operations read from secondary members but if no secondary members are available, operations read from the primary. "nearest" Operations read from member of the replica set with the least network latency, irrespective of the member's type. tagSets ... "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 member with the lowest network latency. This member may be a pri ... queries. Server hedged reads are available for all non-primary read preferences and are enabled by default when using the "nearest" mode. This option allows explicitly enabling server hedged reads for non-primary read preferences by specifying ['enabled ...
-
https://man.mtool.work/php/8.3/mongodb-driver-readpreference.construct.html
- The MongoDB\Driver\ReadPreference class 11182
- « 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
... imaryPreferred ; const string SECONDARY = secondary ; const string SECONDARY_PREFERRED = secondaryPreferred ; const string NEAREST = nearest ; const int NO_MAX_STALENESS = -1 ; const int SMALLEST_MAX_STALENESS_SECONDS = 90 ; /* メソッド */ final public ... ondary members but if no secondary members are available, operations read from the primary. MongoDB\Driver\ReadPreference::NEAREST Operations read from member of the replica set with the least network latency, irrespective of the member's type. MongoDB\ ... adPreference::RP_SECONDARY , MongoDB\Driver\ReadPreference::RP_SECONDARY_PREFERRED , and MongoDB\Driver\ReadPreference::RP_NEAREST constants. The getMode() method was also removed. PECL mongodb 1.20.0 Deprecated the MongoDB\Driver\ReadPreference::RP_PRI ...
-
https://man.mtool.work/php/8.3/class.mongodb-driver-readpreference.html
- The MongoDB\Driver\ReadPreference class 11182
- « 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
... imaryPreferred ; const string SECONDARY = secondary ; const string SECONDARY_PREFERRED = secondaryPreferred ; const string NEAREST = nearest ; const int NO_MAX_STALENESS = -1 ; const int SMALLEST_MAX_STALENESS_SECONDS = 90 ; /* メソッド */ final public ... ondary members but if no secondary members are available, operations read from the primary. MongoDB\Driver\ReadPreference::NEAREST Operations read from member of the replica set with the least network latency, irrespective of the member's type. MongoDB\ ... adPreference::RP_SECONDARY , MongoDB\Driver\ReadPreference::RP_SECONDARY_PREFERRED , and MongoDB\Driver\ReadPreference::RP_NEAREST constants. The getMode() method was also removed. PECL mongodb 1.20.0 Deprecated the MongoDB\Driver\ReadPreference::RP_PRI ...
-
https://man.mtool.work/php/8.3/class.mongodb-driver-readpreference.html
- Create a new ReadPreference 10694
- « 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
... ions, operations read from secondary members but if no secondary members are available, operations read from the primary. "nearest" Operations read from member of the replica set with the least network latency, irrespective of the member's type. tagSets ... "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 member with the lowest network latency. This member may be a pri ... queries. Server hedged reads are available for all non-primary read preferences and are enabled by default when using the "nearest" mode. This option allows explicitly enabling server hedged reads for non-primary read preferences by specifying ['enabled ...
-
https://man.mtool.work/php/8.3/mongodb-driver-readpreference.construct.html
- Allocates enough memory for a required capacity 10328
- « Ds\Queue Ds\Queue::capacity » PHP Manual Ds\Queue Allocates enough memory for a required capacity 検索 Ds\Queue::allocate (PECL ds >= 1.0.0) Ds\Queue::allocate — Allocates enough memory for a required capacity 説明 public function Ds\Queu
... s removes the need to reallocate the internal buffer as values are added. 注意 : Capacity will always be rounded up to the nearest power of 2. パラメータ capacity The number of values for which capacity should be allocated. 注意 : Capacity will stay the ... same if this value is less than or equal to the current capacity. 注意 : Capacity will always be rounded up to the nearest power of 2. 戻り値 値を返しません。 例 例1 Ds\Queue::allocate() example <?php $queue = new \Ds\Queue (); var_dump ( $queue ... 連キーワード: capacity Queue allocate enough memory required queue Allocates int Capacity allocated values always rounded up nearest power var dump Search ...
-
https://man.mtool.work/php/8.3/ds-queue.allocate.html
- Allocates enough memory for a required capacity 10206
- « Ds\Queue Ds\Queue::capacity » PHP Manual Ds\Queue Allocates enough memory for a required capacity 検索 Ds\Queue::allocate (PECL ds >= 1.0.0) Ds\Queue::allocate — Allocates enough memory for a required capacity 説明 public function Ds\Queu
... s removes the need to reallocate the internal buffer as values are added. 注意 : Capacity will always be rounded up to the nearest power of 2. パラメータ capacity The number of values for which capacity should be allocated. 注意 : Capacity will stay the ... same if this value is less than or equal to the current capacity. 注意 : Capacity will always be rounded up to the nearest power of 2. 戻り値 値を返しません。 例 例1 Ds\Queue::allocate() example <?php $queue = new \Ds\Queue (); var_dump ( $queue ... 8) 関連キーワード: capacity Queue allocate enough memory required queue Allocates Capacity allocated values always rounded nearest power dump Ensures removes need reallocate internal buffer added number stay ...
-
https://man.mtool.work/php/8.3/ds-queue.allocate.html
- Returns the ReadPreference's "mode" option 9718
- « MongoDB\Driver\ReadPreference::getMode MongoDB\Driver\ReadPreference::getTagSets » PHP Manual MongoDB\Driver\ReadPreference Returns the ReadPreference's "mode" option 検索 MongoDB\Driver\ReadPreference::getModeString (mongodb >=1.7.0) Mon
... EFERRED ); var_dump ( $rp -> getModeString ()); $rp = new MongoDB\Driver\ReadPreference ( MongoDB\Driver\ReadPreference :: NEAREST ); var_dump ( $rp -> getModeString ()); ?> 上の例の出力は以下となります。 string(7) "primary" string(16) "primaryPreferred ... " string(9) "secondary" string(18) "secondaryPreferred" string(7) "nearest" 参考 MongoDB\Driver\ReadPreference::getMode() - Returns the ReadPreference's "mode" option » Read Preference reference 関 ... s Exception InvalidArgumentException argument parsing errors example primary primaryPreferred secondary secondaryPreferred nearest 参考 Read ...
-
https://man.mtool.work/php/8.3/mongodb-driver-readpreference.getmodestring.html
- Return the given value if in range, else return the nearest bound 9489
- « ceil cos » PHP Manual Math 関数 Return the given value if in range, else return the nearest bound 検索 clamp (PHP 8 >= 8.6.0) clamp — Return the given value if in range, else return the nearest bound 説明 function clamp ( mixed $value , m
... 参考 min() - 最小値を返す max() - 最大値を返す 関連キーワード: min max value clamp return Return given range mixed echo else nearest bound compared comparable new DateTimeImmutable Else different types ...
-
https://man.mtool.work/php/8.3/function.clamp.html
- Return the given value if in range, else return the nearest bound 9367
- « ceil cos » PHP Manual Math 関数 Return the given value if in range, else return the nearest bound 検索 clamp (PHP 8 >= 8.6.0) clamp — Return the given value if in range, else return the nearest bound 説明 function clamp ( mixed $value , m
... // 2025-08-15 ?> 参考 min() - 最小値を返す max() - 最大値を返す 関連キーワード: clamp return Return given range mixed else nearest bound compared comparable DateTimeImmutable Else different types standard numeric returned between limit throws ValueError ...
-
https://man.mtool.work/php/8.3/function.clamp.html
- Allocates enough memory for a required capacity 8879
- « Ds\Map Ds\Map::apply » PHP Manual Ds\Map Allocates enough memory for a required capacity 検索 Ds\Map::allocate (PECL ds >= 1.0.0) Ds\Map::allocate — Allocates enough memory for a required capacity 説明 public function Ds\Map::allocate ( i
... tay the same if this value is less than or equal to the current capacity. 注意 : Capacity will always be rounded up to the nearest power of 2. 戻り値 値を返しません。 例 例1 Ds\Map::allocate() example <?php $map = new \Ds\Map (); var_dump ( $map -> capa ... locate Allocates enough memory required Capacity dump apply number values allocated stay less equal current always rounded nearest power example ...
-
https://man.mtool.work/php/8.3/ds-map.allocate.html