The MongoDB\Driver\Monitoring\ServerHeartbeatSucceededEvent class

(mongodb >=1.13.0)

Introduction

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

Class synopsis

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

Table of Contents

add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top