The MongoDB\Driver\Monitoring\TopologyChangedEvent class
(mongodb >=1.13.0)
简介
The MongoDB\Driver\Monitoring\TopologyChangedEvent class encapsulates information about a changed topology description. For example, a topology discovering a new replica set primary would cause its topology description to change.
类摘要
final
class MongoDB\Driver\Monitoring\TopologyChangedEvent
{
/* 方法 */
}目录
- MongoDB\Driver\Monitoring\TopologyChangedEvent::getNewDescription — Returns the new description for the topology
- MongoDB\Driver\Monitoring\TopologyChangedEvent::getPreviousDescription — Returns the previous description for the topology
- MongoDB\Driver\Monitoring\TopologyChangedEvent::getTopologyId — Returns the topology ID
+添加备注
用户贡献的备注
此页面尚无用户贡献的备注。
备份地址:http://www.lvesu.com/blog/php/class.mongodb-driver-monitoring-topologychangedevent.php