Results of 1 - 7 of about 7 for situations (0.001 sec.)
- The MongoDB\Driver\ReadPreference class | PHP 8.3 10869
- The MongoDB\Driver\ReadPreference class (mongodb >=1.0.0) はじめに クラス概要 final class MongoDB\Driver\ReadPreference implements MongoDB\BSON\Serializable , Serializable { /* プロパティ */ public readonly string $ mode ; public readonly ?
... ica set primary. This is the default read preference for MongoDB. MongoDB\Driver\ReadPreference::PRIMARY_PREFERRED In most situations, operations read from the primary but if it is unavailable, operations read from secondary members. MongoDB\Driver\ReadPre ... operations read from the secondary members of the replica set. MongoDB\Driver\ReadPreference::SECONDARY_PREFERRED In most situations, operations read from secondary members but if no secondary members are available, operations read from the primary. Mongo ...
-
https://man.mtool.work/php/8.3/class.mongodb-driver-readpreference.html
- MongoDB\Driver\Exception\RuntimeException::hasErrorLabel — Returns whether an e... 10305
- MongoDB\Driver\Exception\RuntimeException::hasErrorLabel (mongodb >= 1.6.0) MongoDB\Driver\Exception\RuntimeException::hasErrorLabel — Returns whether an error label is associated with an exception 説明 final public function MongoDB\Driver\
... rrorLabel has been set for this exception. Error labels are set by either the server or the extension to indicate specific situations that may be handled by an application. A common situation might be determining whether to safely retry a transaction that ...
-
https://man.mtool.work/php/8.3/mongodb-driver-runtimeexception.haserrorlabel.htm...
- Swoole\Coroutine\Lock::trylock — Attempt to acquire the lock without blocking |... 10305
- Swoole\Coroutine\Lock::trylock (No version information available, might only be in Git) Swoole\Coroutine\Lock::trylock — Attempt to acquire the lock without blocking 説明 public function Swoole\Coroutine\Lock::trylock (): bool When calling
... ng the current coroutine or yielding CPU control. This non-blocking design allows the caller to flexibly handle contention situations, such as retrying, giving up, or executing other logic. パラメータ この関数にはパラメータはありません。 戻り値 Returns tru ...
-
https://man.mtool.work/php/8.3/swoole-coroutine-lock.trylock.html
- The EventException class | PHP 8.3 9724
- The EventException class (No version information available, might only be in Git) はじめに A EventException is thrown when the Event extension methods encounter invalid user input or identify an unrecoverable error. This exception serves as
... a signal for developers to handle exceptional situations gracefully. クラス概要 class EventException extends RuntimeException { /* 継承したプロパティ */ protected string $ message ...
-
https://man.mtool.work/php/8.3/class.eventexception.html
- MongoDB\Driver\ReadPreference::__construct — Create a new ReadPreference | PHP ... 9724
- MongoDB\Driver\ReadPreference::__construct (mongodb >=1.0.0) MongoDB\Driver\ReadPreference::__construct — Create a new ReadPreference 説明 final public function MongoDB\Driver\ReadPreference::__construct ( string $mode , ? array $tagSets =
... ons read from the current replica set primary. This is the default read preference for MongoDB. "primaryPreferred" In most situations, operations read from the primary but if it is unavailable, operations read from secondary members. "secondary" All operat ... ions read from the secondary members of the replica set. "secondaryPreferred" In most situations, operations read from secondary members but if no secondary members are available, operations read from the primary. "near ...
-
https://man.mtool.work/php/8.3/mongodb-driver-readpreference.construct.html
- The MongoDB\Driver\ServerDescription class | PHP 8.3 6870
- The MongoDB\Driver\ServerDescription class (mongodb >=1.13.0) はじめに The MongoDB\Driver\ServerDescription class is a value object that represents a server to which the driver is connected. Instances of this class are returned by MongoDB\D
... server type, returned by MongoDB\Driver\ServerDescription::getType() . Servers may be identified as such in at least three situations: briefly during server startup; in an uninitialized replica set; or when the server is shunned (i.e. removed from the repl ...
-
https://man.mtool.work/php/8.3/class.mongodb-driver-serverdescription.html
- The MongoDB\Driver\Server class | PHP 8.3 5725
- The MongoDB\Driver\Server class (mongodb >=1.0.0) はじめに クラス概要 final class MongoDB\Driver\Server { /* 定数 */ const int TYPE_UNKNOWN = 0 ; const int TYPE_STANDALONE = 1 ; const int TYPE_MONGOS = 2 ; const int TYPE_POSSIBLE_PRIMARY =
... set ghost server type, returned by MongoDB\Driver\Server::getType() . Servers may be identified as such in at least three situations: briefly during server startup; in an uninitialized replica set; or when the server is shunned (i.e. removed from the repl ...
-
https://man.mtool.work/php/8.3/class.mongodb-driver-server.html
PREV
1
NEXT