Protocol
ConnectionPoolItem
Item managed by a connection pool.
protocol ConnectionPoolItem : AnyObject
Topics
Instance Properties
var eventLoop: any EventLoopEventLoopthis connection belongs to.var isClosed: BoolIftrue, this connection has closed.
Instance Methods
func close() -> EventLoopFuture<Void>Closes this connection.
See Also
Legacy connection pools
class EventLoopConnectionPoolHolds a collection of active connections that can be requested and later released back into the pool.class EventLoopGroupConnectionPoolHolds a collection of connection pools for eachEventLoopon anEventLoopGroup.protocol ConnectionPoolSourceSource of new connections forEventLoopGroupConnectionPool.enum ConnectionPoolErrorErrors thrown byEventLoopGroupConnectionPoolandEventLoopConnectionPoolregarding state.enum ConnectionPoolTimeoutErrorErrors thrown byEventLoopGroupConnectionPoolandEventLoopConnectionPoolregarding timeouts.