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
{
/* 方法 */
}目录
- MongoDB\Driver\Monitoring\TopologyClosedEvent::getTopologyId — Returns the topology ID
+添加备注
用户贡献的备注
此页面尚无用户贡献的备注。
备份地址:http://www.lvesu.com/blog/php/class.mongodb-driver-monitoring-topologyclosedevent.php