The MongoDBDriverMonitoringSDAMSubscriber interface
(mongodb >=1.13.0)
简介
Classes may implement this interface to register an event subscriber that is notified for various SDAM events. See the » Server Discovery and Monitoring and » SDAM Monitoring specifications for additional information.
接口摘要
class MongoDBDriverMonitoringSDAMSubscriber implements MongoDBDriverMonitoringSubscriber {
/* 方法 */
abstract public serverHeartbeatFailed(MongoDBDriverMonitoringServerHeartbeatFailedEvent
$event
): voidabstract public serverHeartbeatStarted(MongoDBDriverMonitoringServerHeartbeatStartedEvent
$event
): voidabstract public serverHeartbeatSucceeded(MongoDBDriverMonitoringServerHeartbeatSucceededEvent
$event
): void}
目录
- MongoDBDriverMonitoringSDAMSubscriber::serverChanged — Notification method for a server description change
- MongoDBDriverMonitoringSDAMSubscriber::serverClosed — Notification method for closing a server
- MongoDBDriverMonitoringSDAMSubscriber::serverHeartbeatFailed — Notification method for a failed server heartbeat
- MongoDBDriverMonitoringSDAMSubscriber::serverHeartbeatStarted — Notification method for a started server heartbeat
- MongoDBDriverMonitoringSDAMSubscriber::serverHeartbeatSucceeded — Notification method for a successful server heartbeat
- MongoDBDriverMonitoringSDAMSubscriber::serverOpening — Notification method for opening a server
- MongoDBDriverMonitoringSDAMSubscriber::topologyChanged — Notification method for a topology description change
- MongoDBDriverMonitoringSDAMSubscriber::topologyClosed — Notification method for closing the topology
- MongoDBDriverMonitoringSDAMSubscriber::topologyOpening — Notification method for opening the topology
用户贡献的笔记
There are no user contributed notes for this page.
转载请注明:悠然品鉴 » PHP MongoDBDriverMonitoringSDAMSubscriber 用法 手册 | 示例代码