The MongoDB\Driver\Monitoring\ServerHeartbeatStartedEvent class

(mongodb >=1.13.0)

Introduction

The MongoDB\Driver\Monitoring\ServerHeartbeatStartedEvent class encapsulates information about a started server heartbeat.

Class synopsis

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

Table of Contents