PHP 8.4.1 Released!

The MongoDB\Driver\Monitoring\ServerHeartbeatFailedEvent class

(mongodb >=1.13.0)

Introducción

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

Sinopsis de la Clase

final class MongoDB\Driver\Monitoring\ServerHeartbeatFailedEvent {
/* Métodos */
final public getDurationMicros(): int
final public getError(): Exception
final public getHost(): string
final public getPort(): int
final public isAwaited(): bool
}

Tabla de contenidos

add a note

User Contributed Notes

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