« MongoDB\BSON\Undefined::unserialize
函数 »
PHP Manual
MongoDB
Monitoring classes and subscriber functions
Monitoring classes and subscriber 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\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\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\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\Subscriber
— The MongoDB\Driver\Monitoring\Subscriber interface