Expand description
Contains the events and functionality for monitoring behavior of the connection pooling of a
Client
.
Structs§
- Connection
Checked InEvent - Event emitted when a connection is checked back into a connection pool.
- Connection
Checked OutEvent - Event emitted when a connection is successfully checked out.
- Connection
Checkout Failed Event - Event emitted when a thread is unable to check out a connection.
- Connection
Checkout Started Event - Event emitted when a thread begins checking out a connection to use for an operation.
- Connection
Closed Event - Event emitted when a connection is closed.
- Connection
Created Event - Event emitted when a connection is created.
- Connection
Pool Options - Contains the options for creating a connection pool. While these options are specified at the
client-level,
ConnectionPoolOptions
is exposed for the purpose of CMAP event handling. - Connection
Ready Event - Event emitted when a connection is ready to be used. This indicates that all the necessary prerequisites for using a connection (handshake, authentication, etc.) have been completed.
- Pool
Cleared Event - Event emitted when a connection pool is cleared.
- Pool
Closed Event - Event emitted when a connection pool is cleared.
- Pool
Created Event - Event emitted when a connection pool is created.
- Pool
Ready Event - Event emitted when a connection pool becomes ready.
Enums§
- Cmap
Event - Connection
Checkout Failed Reason - The reasons a connection may not be able to be checked out.
- Connection
Closed Reason - The reasons that a connection may be closed.
Traits§
- Cmap
Event Handler Deprecated - Usage of this trait is deprecated. Applications should use the
EventHandler
API.