The MongoDB\Driver\Monitoring\TopologyChangedEvent class
(mongodb >=1.13.0)
簡介
The MongoDB\Driver\Monitoring\TopologyChangedEvent class encapsulates information about a changed topology description.
類摘要
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