The MongoDB\Driver\Monitoring\TopologyOpeningEvent class

はじめに

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

注意: 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.

クラス概要

MongoDB\Driver\Monitoring\TopologyOpeningEvent
final class MongoDB\Driver\Monitoring\TopologyOpeningEvent {
/* プロパティ */
public readonly MongoDB\BSON\ObjectId $topologyId;
/* メソッド */
final public MongoDB\BSON\ObjectId getTopologyId()
}

プロパティ

topologyId
The topology ID.

変更履歴

バージョン 説明
PECL mongodb 2.3.0 Added public readonly properties.
目次