The MongoDB\Driver\Monitoring\ServerChangedEvent class

(mongodb >=1.13.0)

简介

The MongoDB\Driver\Monitoring\ServerChangedEvent class encapsulates information about a changed server description. For example, a server's type changing from secondary to primary would cause its server description to change.

类摘要

final class MongoDB\Driver\Monitoring\ServerChangedEvent {
/* 方法 */
final public getHost(): string
final public getPort(): int
}

目录

添加备注

用户贡献的备注

此页面尚无用户贡献的备注。
To Top