Results of 1 - 10 of about 23 for wTimeout (0.001 sec.)
- Create a new WriteConcern 11612
- « MongoDB\Driver\WriteConcern::bsonSerialize MongoDB\Driver\WriteConcern::getJournal » PHP Manual MongoDB\Driver\WriteConcern Create a new WriteConcern 検索 MongoDB\Driver\WriteConcern::__construct (mongodb >=1.0.0) MongoDB\Driver\WriteConc
... — Create a new WriteConcern 説明 final public function MongoDB\Driver\WriteConcern::__construct ( string | int $w , ? int $wtimeout = null , ? bool $journal = null ) Constructs a new MongoDB\Driver\WriteConcern , which is an immutable value object. パラメ ... ag set. Requests acknowledgement that the write operations have propagated to a replica set member with the specified tag. wtimeout How long to wait (in milliseconds) for secondaries before failing. wtimeout causes write operations to return with an erro ... ite operations return, MongoDB does not undo successful data modifications performed before the write concern exceeded the wtimeout time limit. If specified, wtimeout must be a signed 64-bit integer greater than or equal to zero. Write concern timeout Va ...
-
https://man.mtool.work/php/8.3/mongodb-driver-writeconcern.construct.html
- Create a new WriteConcern 11612
- « MongoDB\Driver\WriteConcern::bsonSerialize MongoDB\Driver\WriteConcern::getJournal » PHP Manual MongoDB\Driver\WriteConcern Create a new WriteConcern 検索 MongoDB\Driver\WriteConcern::__construct (mongodb >=1.0.0) MongoDB\Driver\WriteConc
... — Create a new WriteConcern 説明 final public function MongoDB\Driver\WriteConcern::__construct ( string | int $w , ? int $wtimeout = null , ? bool $journal = null ) Constructs a new MongoDB\Driver\WriteConcern , which is an immutable value object. パラメ ... ag set. Requests acknowledgement that the write operations have propagated to a replica set member with the specified tag. wtimeout How long to wait (in milliseconds) for secondaries before failing. wtimeout causes write operations to return with an erro ... ite operations return, MongoDB does not undo successful data modifications performed before the write concern exceeded the wtimeout time limit. If specified, wtimeout must be a signed 64-bit integer greater than or equal to zero. Write concern timeout Va ...
-
https://man.mtool.work/php/8.3/mongodb-driver-writeconcern.construct.html
- Returns the WriteConcern's "wtimeout" option 11411
- « MongoDB\Driver\WriteConcern::getW MongoDB\Driver\WriteConcern::isDefault » PHP Manual MongoDB\Driver\WriteConcern Returns the WriteConcern's "wtimeout" option 検索 MongoDB\Driver\WriteConcern::getWtimeout (mongodb >=1.0.0) MongoDB\Driver\
... WriteConcern::getWtimeout — Returns the WriteConcern's "wtimeout" option 説明 final public function MongoDB\Driver\WriteConcern::getWtimeout (): int ... パラメータ この関数にはパラメータはありません。 戻り値 Returns the WriteConcern's "wtimeout" option. エラー / 例外 Throws MongoDB\Driver\Exception\InvalidArgumentException on argument parsing errors. 変更履歴 バージ ... ョン 説明 PECL mongodb 1.7.0 On 32-bit systems, this method will always truncate the wTimeout value if it exceeds the 32-bit range. In that case, a warning will be emitted. 例 例1 MongoDB\Driver\WriteConcern::getWtim ...
-
https://man.mtool.work/php/8.3/mongodb-driver-writeconcern.getwtimeout.html
- Returns the WriteConcern's "wtimeout" option 10640
- « MongoDB\Driver\WriteConcern::getW MongoDB\Driver\WriteConcern::isDefault » PHP Manual MongoDB\Driver\WriteConcern Returns the WriteConcern's "wtimeout" option 検索 MongoDB\Driver\WriteConcern::getWtimeout (mongodb >=1.0.0) MongoDB\Driver\
... WriteConcern::getWtimeout — Returns the WriteConcern's "wtimeout" option 説明 final public function MongoDB\Driver\WriteConcern::getWtimeout (): int ... パラメータ この関数にはパラメータはありません。 戻り値 Returns the WriteConcern's "wtimeout" option. エラー / 例外 Throws MongoDB\Driver\Exception\InvalidArgumentException on argument parsing errors. 変更履歴 バージ ... ョン 説明 PECL mongodb 1.7.0 On 32-bit systems, this method will always truncate the wTimeout value if it exceeds the 32-bit range. In that case, a warning will be emitted. 例 例1 MongoDB\Driver\WriteConcern::getWtim ...
-
https://man.mtool.work/php/8.3/mongodb-driver-writeconcern.getwtimeout.html
- The MongoDB\Driver\WriteConcern class 10003
- « MongoDB\Driver\ServerApi::__construct MongoDB\Driver\WriteConcern::bsonSerialize » PHP Manual MongoDB\Driver The MongoDB\Driver\WriteConcern class 検索 The MongoDB\Driver\WriteConcern class (mongodb >=1.0.0) はじめに MongoDB\Driver\WriteC
... "majority" ; /* プロパティ */ public readonly string | int | null $ w ; public readonly ? bool $ j ; public readonly int $ wtimeout ; /* メソッド */ final public function bsonSerialize (): stdClass final public function __construct ( string | int $w , ? ... int $wtimeout = null , ? bool $journal = null ) final public function getJournal (): ? bool final public function getW (): string | int ... | null final public function getWtimeout (): int final public function isDefault (): bool } プロパティ w The write concern value (integer number of nodes, the stri ...
-
https://man.mtool.work/php/8.3/class.mongodb-driver-writeconcern.html
- The MongoDB\Driver\WriteConcern class 9936
- « MongoDB\Driver\ServerApi::__construct MongoDB\Driver\WriteConcern::bsonSerialize » PHP Manual MongoDB\Driver The MongoDB\Driver\WriteConcern class 検索 The MongoDB\Driver\WriteConcern class (mongodb >=1.0.0) はじめに MongoDB\Driver\WriteC
... "majority" ; /* プロパティ */ public readonly string | int | null $ w ; public readonly ? bool $ j ; public readonly int $ wtimeout ; /* メソッド */ final public function bsonSerialize (): stdClass final public function __construct ( string | int $w , ? ... int $wtimeout = null , ? bool $journal = null ) final public function getJournal (): ? bool final public function getW (): string | int ... | null final public function getWtimeout (): int final public function isDefault (): bool } プロパティ w The write concern value (integer number of nodes, the stri ...
-
https://man.mtool.work/php/8.3/class.mongodb-driver-writeconcern.html
- Returns an object for BSON serialization 9551
- « MongoDB\Driver\WriteConcern MongoDB\Driver\WriteConcern::__construct » PHP Manual MongoDB\Driver\WriteConcern Returns an object for BSON serialization 検索 MongoDB\Driver\WriteConcern::bsonSerialize (mongodb >=1.2.0) MongoDB\Driver\WriteC
... tdClass)#2 (1) { ["w"]=> string(8) "majority" } { "w" : "majority" } 例2 MongoDB\Driver\WriteConcern::bsonSerialize() with wtimeout and journal <?php $wc = new MongoDB\Driver\WriteConcern ( 2 , 1000 , true ); var_dump ( $wc -> bsonSerialize ()); echo "\n ... edJSON (); ?> 上の例の出力は、 たとえば以下のようになります。 object(stdClass)#2 (3) { ["w"]=> int(2) ["j"]=> bool(true) ["wtimeout"]=> int(1000) } { "w" : 2, "j" : true, "wtimeout" : 1000 } 参考 MongoDB\BSON\Serializable::bsonSerialize() - Provides an a ... cern reference 関連キーワード: MongoDB Driver WriteConcern bsonSerialize object wc Returns serialization stdClass majority wtimeout true パラメータ php new var dump echo Document fromPHP ...
-
https://man.mtool.work/php/8.3/mongodb-driver-writeconcern.bsonserialize.html
- Returns an object for BSON serialization 9551
- « MongoDB\Driver\WriteConcern MongoDB\Driver\WriteConcern::__construct » PHP Manual MongoDB\Driver\WriteConcern Returns an object for BSON serialization 検索 MongoDB\Driver\WriteConcern::bsonSerialize (mongodb >=1.2.0) MongoDB\Driver\WriteC
... tdClass)#2 (1) { ["w"]=> string(8) "majority" } { "w" : "majority" } 例2 MongoDB\Driver\WriteConcern::bsonSerialize() with wtimeout and journal <?php $wc = new MongoDB\Driver\WriteConcern ( 2 , 1000 , true ); var_dump ( $wc -> bsonSerialize ()); echo "\n ... edJSON (); ?> 上の例の出力は、 たとえば以下のようになります。 object(stdClass)#2 (3) { ["w"]=> int(2) ["j"]=> bool(true) ["wtimeout"]=> int(1000) } { "w" : 2, "j" : true, "wtimeout" : 1000 } 参考 MongoDB\BSON\Serializable::bsonSerialize() - Provides an a ... s BSON » Write Concern reference 関連キーワード: MongoDB Driver WriteConcern bsonSerialize serialization stdClass majority wtimeout dump Document fromPHP toRelaxedExtendedJSON construct mongodb final serializing Throws Exception InvalidArgumentException ...
-
https://man.mtool.work/php/8.3/mongodb-driver-writeconcern.bsonserialize.html
- Return the WriteConcern for the Manager 7473
- « MongoDB\Driver\Manager::getServers MongoDB\Driver\Manager::removeSubscriber » PHP Manual MongoDB\Driver\Manager Return the WriteConcern for the Manager 検索 MongoDB\Driver\Manager::getWriteConcern (mongodb >=1.0.0) MongoDB\Driver\Manager:
... var_dump ( $manager -> getWriteConcern ()); $manager = new MongoDB\Driver\Manager ( 'mongodb://localhost:27017/?w=majority&wtimeoutMS=2000' ); var_dump ( $manager -> getWriteConcern ()); ?> 上の例の出力は、 たとえば以下のようになります。 object(MongoDB\D ... river\WriteConcern)#2 (0) { } object(MongoDB\Driver\WriteConcern)#1 (2) { ["w"]=> string(8) "majority" ["wtimeout"]=> int(2000) } 参考 MongoDB\Driver\WriteConcern MongoDB\Driver\Manager::__construct() - Create new MongoDB Manager 関連キ ...
-
https://man.mtool.work/php/8.3/mongodb-driver-manager.getwriteconcern.html
- Returns metadata document for the WriteConcernError 7473
- « MongoDB\Driver\WriteConcernError::getCode MongoDB\Driver\WriteConcernError::getMessage » PHP Manual MongoDB\Driver\WriteConcernError Returns metadata document for the WriteConcernError 検索 MongoDB\Driver\WriteConcernError::getInfo (mongo
... )-> getWriteConcernError ()-> getInfo ()); } ?> 上の例の出力は、 たとえば以下のようになります。 object(stdClass)#1 (1) { ["wtimeout"]=> bool(true) } 参考 » Write Concern reference 関連キーワード: MongoDB Driver WriteConcernError metadata getInfo Returns ...
-
https://man.mtool.work/php/8.3/mongodb-driver-writeconcernerror.getinfo.html