Introduzione
PHP Manual
PHP Manual»MongoDB\Driver\Monitoring»MongoDB\Driver\Monitoring\TopologyOpeningEvent

The MongoDB\Driver\Monitoring\TopologyOpeningEvent class

(mongodb >=1.13.0)

The MongoDB\Driver\Monitoring\TopologyOpeningEvent class encapsulates information about an opened topology.

Nota: Due to the driver's connection handling and persistence behavior, this event may not be observed if a MongoDB\Driver\Manager uses a previously persisted » libmongoc client.

final class MongoDB\Driver\Monitoring\TopologyOpeningEvent {
/* Proprietà */
/* Metodi */
final public function getTopologyId(): MongoDB\BSON\ObjectId
}
topologyId
The topology ID.
Versione Descrizione
PECL mongodb 2.3.0 Added public readonly properties.

Indice dei contenuti

To Top