manual.verysource.com
源码
技术论坛
博客
程序员在线工具箱
php教程
php手册
php手册
PHP Manual
MongoDB
Monitoring classes and subscriber functions
Monitoring classes and subscriber functions
函数
MongoDB\Driver\Monitoring\addSubscriber
— Registers a new monitoring event subscriber
MongoDB\Driver\Monitoring\removeSubscriber
— Unregisters an existing monitoring event subscriber
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
User Contributed Notes
There are no user contributed notes for this page.
CopyRight © 2008-2022 verySource.Com All Rights reserved.
京ICP备17048824号-1
京公网安备:11010502034788