Downloads
Documentation
Get Involved
Help
Getting Started
Introduction
A simple tutorial
Language Reference
Basic syntax
Types
Variables
Constants
Expressions
Operators
Control Structures
Functions
Classes and Objects
Namespaces
Enumerations
Errors
Exceptions
Fibers
Generators
Attributes
References Explained
Predefined Variables
Predefined Exceptions
Predefined Interfaces and Classes
Predefined Attributes
Context options and parameters
Supported Protocols and Wrappers
Security
Introduction
General considerations
Installed as CGI binary
Installed as an Apache module
Session Security
Filesystem Security
Database Security
Error Reporting
User Submitted Data
Hiding PHP
Keeping Current
Features
HTTP authentication with PHP
Cookies
Sessions
Dealing with XForms
Handling file uploads
Using remote files
Connection handling
Persistent Database Connections
Command line usage
Garbage Collection
DTrace Dynamic Tracing
Function Reference
Affecting PHP's Behaviour
Audio Formats Manipulation
Authentication Services
Command Line Specific Extensions
Compression and Archive Extensions
Cryptography Extensions
Database Extensions
Date and Time Related Extensions
File System Related Extensions
Human Language and Character Encoding Support
Image Processing and Generation
Mail Related Extensions
Mathematical Extensions
Non-Text MIME Output
Process Control Extensions
Other Basic Extensions
Other Services
Search Engine Extensions
Server Specific Extensions
Session Extensions
Text Processing
Variable and Type Related Extensions
Web Services
Windows Only Extensions
XML Manipulation
GUI Extensions
Keyboard Shortcuts
?
This help
j
Next menu item
k
Previous menu item
g p
Previous man page
g n
Next man page
G
Scroll to bottom
g g
Scroll to top
g h
Goto homepage
g s
Goto search
(current page)
/
Focus search box
Functions »
« MongoDB\BSON\Undefined::unserialize
PHP Manual
Function Reference
Database Extensions
Vendor Specific Database Extensions
MongoDB
Change language:
English
Chinese (Simplified)
Other
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::getDatabaseName
— Returns the database on which the command was executed
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::getDatabaseName
— Returns the database on which the command was executed
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
Improve This Page
Learn How To Improve This Page
•
Submit a Pull Request
•
Report a Bug
+
add a note
User Contributed Notes
There are no user contributed notes for this page.