The MongoDB\Driver\Monitoring\ServerHeartbeatFailedEvent class

Introduction

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

Class synopsis

MongoDB\Driver\Monitoring\ServerHeartbeatFailedEvent
final class MongoDB\Driver\Monitoring\ServerHeartbeatFailedEvent {
/* Methods */
final public int getDurationMicros()
final public Exception getError()
final public string getHost()
final public int getPort()
final public bool isAwaited()
}
Table of Contents