Click or drag to resize
IConnectionPoolListener Interface
This API is preliminary and subject to change.
Represents a listener to connection pool events.

Namespace: MongoDB.Driver.Core.Events
Assembly: MongoDB.Driver.Core (in MongoDB.Driver.Core.dll) Version: 2.0.1
Syntax
public interface IConnectionPoolListener : IListener

The IConnectionPoolListener type exposes the following members.

Methods
  NameDescription
Public methodConnectionPoolAfterAddingAConnection
An event that occurs after a connection has been added to a connection pool.
Public methodConnectionPoolAfterCheckingInAConnection
An event that occurs after a connection has been checked in to a connection pool.
Public methodConnectionPoolAfterCheckingOutAConnection
An event that occurs after a connection has been checked out from a connection pool.
Public methodConnectionPoolAfterClosing
An event that occurs after a connection pool has been closed.
Public methodConnectionPoolAfterEnteringWaitQueue
An event that occurs after a task has entered a connection pool's wait queue.
Public methodConnectionPoolAfterOpening
An event that occurs after a connection pool has been opened.
Public methodConnectionPoolAfterRemovingAConnection
An event that occurs after a connection has been removed from a connection pool.
Public methodConnectionPoolBeforeAddingAConnection
An event that occurs before adding a connection to a connection pool.
Public methodConnectionPoolBeforeCheckingInAConnection
An event that occurs before checking in a connection to a connection pool.
Public methodConnectionPoolBeforeCheckingOutAConnection
An event that occurs before checking out a connection from a connection pool.
Public methodConnectionPoolBeforeClosing
An event that occurs before closing a connection pool.
Public methodConnectionPoolBeforeEnteringWaitQueue
An event that occurs before a task enters a connection pool's wait queue.
Public methodConnectionPoolBeforeOpening
An event that occurs before opening a connection pool.
Public methodConnectionPoolBeforeRemovingAConnection
An event that occurs before removing a connection from a connection pool.
Public methodConnectionPoolErrorCheckingOutAConnection
An event that occurs when an error occurred while checking out a connection from a connection pool.
Public methodConnectionPoolErrorEnteringWaitQueue
An event that occurs when there is an error while a task was entering the connection pool's wait queue.
Top
See Also