PHP 8.4.24 Released!

The MongoDB\Driver\Monitoring\TopologyClosedEvent class

(mongodb >=1.13.0)

Вступ

The MongoDB\Driver\Monitoring\TopologyClosedEvent class encapsulates information about a closed topology.

Зауваження: Due to the driver's connection handling and persistence behavior, this event can only be observed when a MongoDB\Driver\Manager is created with the "disableClientPersistence" driver option and freed before request shutdown (RSHUTDOWN).

Короткий огляд класу

final class MongoDB\Driver\Monitoring\TopologyClosedEvent {
/* Властивості */
/* Методи */
final public function getTopologyId(): MongoDB\BSON\ObjectId
}

Властивості

topologyId
The topology ID.

Журнал змін

Версія Опис
PECL mongodb 2.3.0 Added public readonly properties.

Зміст

add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top