The MongoDB\Driver\Monitoring\ServerHeartbeatStartedEvent class

(mongodb >=1.13.0)

Introducción

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

Sinopsis de la Clase

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

Tabla de contenidos