The MongoDB\Driver\Monitoring\ServerChangedEvent class
(mongodb >=1.13.0)
简介
The MongoDB\Driver\Monitoring\ServerChangedEvent class encapsulates information about a changed server description.
类摘要
final
class MongoDB\Driver\Monitoring\ServerChangedEvent
{
/* 方法 */
}目录
- MongoDB\Driver\Monitoring\ServerChangedEvent::getHost — Returns the hostname of the server
- MongoDB\Driver\Monitoring\ServerChangedEvent::getNewDescription — Returns the new description for the server
- MongoDB\Driver\Monitoring\ServerChangedEvent::getPort — Returns the port on which this server is listening
- MongoDB\Driver\Monitoring\ServerChangedEvent::getPreviousDescription — Returns the previous description for the server
- MongoDB\Driver\Monitoring\ServerChangedEvent::getTopologyId — Returns the topology ID associated with this server

User Contributed Notes
There are no user contributed notes for this page.
备份地址:http://www.lvesu.com/blog/php/class.mongodb-driver-monitoring-serverchangedevent.php