The MongoDB\Driver\Monitoring\TopologyOpeningEvent class

(mongodb >=1.13.0)

简介

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.

类摘要

final class MongoDB\Driver\Monitoring\TopologyOpeningEvent {
/* 属性 */
/* 方法 */
}

属性

topologyId
The topology ID.

更新日志

版本 说明
PECL mongodb 2.3.0 Added public readonly properties.

目录