略微加速

PHP官方手册 - 互联网笔记

PHP - Manual: MongoDB\Driver\Monitoring\ServerHeartbeatSucceededEvent

2025-03-12

The MongoDB\Driver\Monitoring\ServerHeartbeatSucceededEvent class

(mongodb >=1.13.0)

简介

The MongoDB\Driver\Monitoring\ServerHeartbeatSucceededEvent class encapsulates information about a successful server heartbeat (i.e. » hello command issued through » server monitoring).

类摘要

final class MongoDB\Driver\Monitoring\ServerHeartbeatSucceededEvent {
/* 方法 */
final public getDurationMicros(): int
final public getHost(): string
final public getPort(): int
final public getReply(): object
final public isAwaited(): bool
}

目录

添加备注

用户贡献的备注

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

官方地址:https://www.php.net/manual/en/class.mongodb-driver-monitoring-serverheartbeatsucceededevent.php

北京半月雨文化科技有限公司.版权所有 京ICP备12026184号-3