|
The MongoDB\Driver\Monitoring\ServerHeartbeatSucceededEvent classIntroductionThe MongoDB\Driver\Monitoring\ServerHeartbeatSucceededEvent class encapsulates information about a successful server heartbeat (i.e. » hello command issued through » server monitoring). Class synopsisMongoDB\Driver\Monitoring\ServerHeartbeatSucceededEvent
final
class MongoDB\Driver\Monitoring\ServerHeartbeatSucceededEvent
{
/* Properties */
public
readonly
string
$host;
public
readonly
int
$port;
public
readonly
bool
$awaited;
public
readonly
int
$duration;
public
readonly
object
$reply;
/* Methods */
final public int getDurationMicros()
final public string getHost()
final public int getPort()
final public object getReply()
final public bool isAwaited()
}Properties
Changelog
|