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 |
Definition at line 763 of file Cluster.d.
|
Create a connection-pool for the specified address. Definition at line 869 of file Cluster.d. References address. |
|
Allocate a Connection from a list rather than creating a new one. Reap old entries as we go. Definition at line 881 of file Cluster.d. References ConnectionPool::PoolConnection::close(), ConnectionPool::PoolConnection::next, ConnectionPool::PoolConnection::time, and time. Referenced by Node::request(). |
|
Close this pool and drop all existing connections. Definition at line 903 of file Cluster.d. Referenced by Node::fail(). |
|
|
|
Definition at line 766 of file Cluster.d. Referenced by ConnectionPool::PoolConnection::reset(), and this(). |
|
Definition at line 767 of file Cluster.d. Referenced by ConnectionPool::PoolConnection::done(). |
|
|