IConnectionPool Interface |
Namespace: MongoDB.Driver.Core.ConnectionPools
The IConnectionPool type exposes the following members.
Name | Description | |
---|---|---|
Generation |
Gets the generation of the connection pool.
| |
ServerId |
Gets the server identifier.
|
Name | Description | |
---|---|---|
AcquireConnection |
Acquires a connection.
| |
AcquireConnectionAsync |
Acquires a connection.
| |
Clear |
Clears the connection pool and marks it as paused.
| |
Clear(ObjectId) |
Clears the connection pool for the specified service.
| |
Dispose | Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. (Inherited from IDisposable.) | |
GetGeneration |
Gets the current generation for the connection pool (or service).
| |
Initialize |
Initializes the connection pool.
| |
SetReady |
Marks the pool as ready.
|