« MongoDB\BSON\Undefined::unserialize
Functions »
PHP Manual
MongoDB
Monitoring classes and subscriber functions
Monitoring classes and subscriber functions
Functions
MongoDB\Driver\Monitoring\addSubscriber
— Registers a monitoring event subscriber globally
MongoDB\Driver\Monitoring\removeSubscriber
— Unregisters a monitoring event subscriber globally
MongoDB\Driver\Monitoring\CommandFailedEvent
— The MongoDB\Driver\Monitoring\CommandFailedEvent class
MongoDB\Driver\Monitoring\CommandFailedEvent::getCommandName
— Returns the command name
MongoDB\Driver\Monitoring\CommandFailedEvent::getDurationMicros
— Returns the command's duration in microseconds
MongoDB\Driver\Monitoring\CommandFailedEvent::getError
— Returns the Exception associated with the failed command
MongoDB\Driver\Monitoring\CommandFailedEvent::getOperationId
— Returns the command's operation ID
MongoDB\Driver\Monitoring\CommandFailedEvent::getReply
— Returns the command reply document
MongoDB\Driver\Monitoring\CommandFailedEvent::getRequestId
— Returns the command's request ID
MongoDB\Driver\Monitoring\CommandFailedEvent::getServer
— Returns the Server on which the command was executed
MongoDB\Driver\Monitoring\CommandFailedEvent::getServerConnectionId
— Returns the server connection ID for the command
MongoDB\Driver\Monitoring\CommandFailedEvent::getServiceId
— Returns the load balancer service ID for the command
MongoDB\Driver\Monitoring\CommandStartedEvent
— The MongoDB\Driver\Monitoring\CommandStartedEvent class
MongoDB\Driver\Monitoring\CommandStartedEvent::getCommand
— Returns the command document
MongoDB\Driver\Monitoring\CommandStartedEvent::getCommandName
— Returns the command name
MongoDB\Driver\Monitoring\CommandStartedEvent::getDatabaseName
— Returns the database on which the command was executed
MongoDB\Driver\Monitoring\CommandStartedEvent::getOperationId
— Returns the command's operation ID
MongoDB\Driver\Monitoring\CommandStartedEvent::getRequestId
— Returns the command's request ID
MongoDB\Driver\Monitoring\CommandStartedEvent::getServer
— Returns the Server on which the command was executed
MongoDB\Driver\Monitoring\CommandStartedEvent::getServerConnectionId
— Returns the server connection ID for the command
MongoDB\Driver\Monitoring\CommandStartedEvent::getServiceId
— Returns the load balancer service ID for the command
MongoDB\Driver\Monitoring\CommandSucceededEvent
— The MongoDB\Driver\Monitoring\CommandSucceededEvent class
MongoDB\Driver\Monitoring\CommandSucceededEvent::getCommandName
— Returns the command name
MongoDB\Driver\Monitoring\CommandSucceededEvent::getDurationMicros
— Returns the command's duration in microseconds
MongoDB\Driver\Monitoring\CommandSucceededEvent::getOperationId
— Returns the command's operation ID
MongoDB\Driver\Monitoring\CommandSucceededEvent::getReply
— Returns the command reply document
MongoDB\Driver\Monitoring\CommandSucceededEvent::getRequestId
— Returns the command's request ID
MongoDB\Driver\Monitoring\CommandSucceededEvent::getServer
— Returns the Server on which the command was executed
MongoDB\Driver\Monitoring\CommandSucceededEvent::getServerConnectionId
— Returns the server connection ID for the command
MongoDB\Driver\Monitoring\CommandSucceededEvent::getServiceId
— Returns the load balancer service ID for the command
MongoDB\Driver\Monitoring\ServerChangedEvent
— The MongoDB\Driver\Monitoring\ServerChangedEvent class
MongoDB\Driver\Monitoring\ServerChangedEvent::getHost
— Returns the hostname of the server
MongoDB\Driver\Monitoring\ServerChangedEvent::getNewDescription
— Returns the new description for the server
MongoDB\Driver\Monitoring\ServerChangedEvent::getPort
— Returns the port on which this server is listening
MongoDB\Driver\Monitoring\ServerChangedEvent::getPreviousDescription
— Returns the previous description for the server
MongoDB\Driver\Monitoring\ServerChangedEvent::getTopologyId
— Returns the topology ID associated with this server
MongoDB\Driver\Monitoring\ServerClosedEvent
— The MongoDB\Driver\Monitoring\ServerClosedEvent class
MongoDB\Driver\Monitoring\ServerClosedEvent::getHost
— Returns the hostname of the server
MongoDB\Driver\Monitoring\ServerClosedEvent::getPort
— Returns the port on which this server is listening
MongoDB\Driver\Monitoring\ServerClosedEvent::getTopologyId
— Returns the topology ID associated with this server
MongoDB\Driver\Monitoring\ServerOpeningEvent
— The MongoDB\Driver\Monitoring\ServerOpeningEvent class
MongoDB\Driver\Monitoring\ServerOpeningEvent::getHost
— Returns the hostname of the server
MongoDB\Driver\Monitoring\ServerOpeningEvent::getPort
— Returns the port on which this server is listening
MongoDB\Driver\Monitoring\ServerOpeningEvent::getTopologyId
— Returns the topology ID associated with this server
MongoDB\Driver\Monitoring\ServerHeartbeatFailedEvent
— The MongoDB\Driver\Monitoring\ServerHeartbeatFailedEvent class
MongoDB\Driver\Monitoring\ServerHeartbeatFailedEvent::getDurationMicros
— Returns the heartbeat's duration in microseconds
MongoDB\Driver\Monitoring\ServerHeartbeatFailedEvent::getError
— Returns the Exception associated with the failed heartbeat
MongoDB\Driver\Monitoring\ServerHeartbeatFailedEvent::getHost
— Returns the hostname of the server
MongoDB\Driver\Monitoring\ServerHeartbeatFailedEvent::getPort
— Returns the port on which this server is listening
MongoDB\Driver\Monitoring\ServerHeartbeatFailedEvent::isAwaited
— Returns whether the heartbeat used a streaming protocol
MongoDB\Driver\Monitoring\ServerHeartbeatStartedEvent
— The MongoDB\Driver\Monitoring\ServerHeartbeatStartedEvent class
MongoDB\Driver\Monitoring\ServerHeartbeatStartedEvent::getHost
— Returns the hostname of the server
MongoDB\Driver\Monitoring\ServerHeartbeatStartedEvent::getPort
— Returns the port on which this server is listening
MongoDB\Driver\Monitoring\ServerHeartbeatStartedEvent::isAwaited
— Returns whether the heartbeat used a streaming protocol
MongoDB\Driver\Monitoring\ServerHeartbeatSucceededEvent
— The MongoDB\Driver\Monitoring\ServerHeartbeatSucceededEvent class
MongoDB\Driver\Monitoring\ServerHeartbeatSucceededEvent::getDurationMicros
— Returns the heartbeat's duration in microseconds
MongoDB\Driver\Monitoring\ServerHeartbeatSucceededEvent::getHost
— Returns the hostname of the server
MongoDB\Driver\Monitoring\ServerHeartbeatSucceededEvent::getPort
— Returns the port on which this server is listening
MongoDB\Driver\Monitoring\ServerHeartbeatSucceededEvent::getReply
— Returns the heartbeat reply document
MongoDB\Driver\Monitoring\ServerHeartbeatSucceededEvent::isAwaited
— Returns whether the heartbeat used a streaming protocol
MongoDB\Driver\Monitoring\TopologyChangedEvent
— The MongoDB\Driver\Monitoring\TopologyChangedEvent class
MongoDB\Driver\Monitoring\TopologyChangedEvent::getNewDescription
— Returns the new description for the topology
MongoDB\Driver\Monitoring\TopologyChangedEvent::getPreviousDescription
— Returns the previous description for the topology
MongoDB\Driver\Monitoring\TopologyChangedEvent::getTopologyId
— Returns the topology ID
MongoDB\Driver\Monitoring\TopologyClosedEvent
— The MongoDB\Driver\Monitoring\TopologyClosedEvent class
MongoDB\Driver\Monitoring\TopologyClosedEvent::getTopologyId
— Returns the topology ID
MongoDB\Driver\Monitoring\TopologyOpeningEvent
— The MongoDB\Driver\Monitoring\TopologyOpeningEvent class
MongoDB\Driver\Monitoring\TopologyOpeningEvent::getTopologyId
— Returns the topology ID
MongoDB\Driver\Monitoring\CommandSubscriber
— The MongoDB\Driver\Monitoring\CommandSubscriber interface
MongoDB\Driver\Monitoring\CommandSubscriber::commandFailed
— Notification method for a failed command
MongoDB\Driver\Monitoring\CommandSubscriber::commandStarted
— Notification method for a started command
MongoDB\Driver\Monitoring\CommandSubscriber::commandSucceeded
— Notification method for a successful command
MongoDB\Driver\Monitoring\LogSubscriber
— The MongoDB\Driver\Monitoring\LogSubscriber interface
MongoDB\Driver\Monitoring\LogSubscriber::log
— Notification method for a log message
MongoDB\Driver\Monitoring\SDAMSubscriber
— The MongoDB\Driver\Monitoring\SDAMSubscriber interface
MongoDB\Driver\Monitoring\SDAMSubscriber::serverChanged
— Notification method for a server description change
MongoDB\Driver\Monitoring\SDAMSubscriber::serverClosed
— Notification method for closing a server
MongoDB\Driver\Monitoring\SDAMSubscriber::serverHeartbeatFailed
— Notification method for a failed server heartbeat
MongoDB\Driver\Monitoring\SDAMSubscriber::serverHeartbeatStarted
— Notification method for a started server heartbeat
MongoDB\Driver\Monitoring\SDAMSubscriber::serverHeartbeatSucceeded
— Notification method for a successful server heartbeat
MongoDB\Driver\Monitoring\SDAMSubscriber::serverOpening
— Notification method for opening a server
MongoDB\Driver\Monitoring\SDAMSubscriber::topologyChanged
— Notification method for a topology description change
MongoDB\Driver\Monitoring\SDAMSubscriber::topologyClosed
— Notification method for closing the topology
MongoDB\Driver\Monitoring\SDAMSubscriber::topologyOpening
— Notification method for opening the topology
MongoDB\Driver\Monitoring\Subscriber
— The MongoDB\Driver\Monitoring\Subscriber interface