Public Member Functions | |
this (InternetAddress address) | |
synchronized Connection | borrow (ulong time) |
synchronized void | close () |
Private Attributes | |
int | count |
InternetAddress | address |
PoolConnection | freelist |
const ulong | timeout = 60_000 |
Classes | |
class | PoolConnection |
Definition at line 767 of file Cluster.d.
|
Create a connection-pool for the specified address. |
|
Allocate a Connection from a list rather than creating a new one. Reap old entries as we go. Definition at line 885 of file Cluster.d. References ConnectionPool::PoolConnection::close(), ConnectionPool::PoolConnection::next, and ConnectionPool::PoolConnection::time. Referenced by Node::request(). |
|
Close this pool and drop all existing connections. |
|
|
|
|
|
|
|
|