Einführung
PHP Manual
PHP Manual»MongoDB\Driver\Monitoring»MongoDB\Driver\Monitoring\TopologyClosedEvent

The MongoDB\Driver\Monitoring\TopologyClosedEvent class

(mongodb >=1.13.0)

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

Hinweis:

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 {
/* Eigenschaften */
/* Methoden */
final public function getTopologyId(): MongoDB\BSON\ObjectId
}
topologyId

The topology ID.

Version Beschreibung
PECL mongodb 2.3.0 Added public readonly properties.

Inhaltsverzeichnis

To Top