Module pravega_connection_pool::connection_pool[][src]

Structs

ConnectionPool

ConnectionPool creates a pool of connections for reuse. It is thread safe.

PooledConnection

A smart pointer wrapping a Connection so that the inner Connection can return to the ConnectionPool once this pointer is dropped.

Enums

ConnectionPoolError

Traits

Manager

Manager is a trait for defining custom connections. User can implement their own type of connection and their own way of establishing the connection in this trait. ConnectionPool will accept an implementation of this trait and manage the customized connection using the method that user provides