Inheritance diagram for ConnectionPool::PoolConnection:
Public Member Functions | |
this (ConnectionPool pool) | |
SocketConduit | getConduit () |
bool | reset () |
void | close () |
void | done (ulong time) |
Public Attributes | |
ulong | time |
PoolConnection | next |
ConnectionPool | parent |
SocketConduit | conduit |
Definition at line 781 of file Cluster.d.
|
Construct a new connection and set its parent |
|
Return the socket belonging to this connection Reimplemented from Connection. |
|
Create a new socket and connect it to the specified server. This will cause a dedicated thread to start on the server. Said thread will quit when an error occurs. Reimplemented from Connection. |
|
Close the socket. This will cause any host session to be terminated. Definition at line 843 of file Cluster.d. Referenced by ConnectionPool::borrow(). |
|
Return this connection to the free-list. Note that we have to synchronize on the parent-pool itself. Reimplemented from Connection. |
|
Definition at line 783 of file Cluster.d. Referenced by ConnectionPool::borrow(). |
|
Definition at line 784 of file Cluster.d. Referenced by ConnectionPool::borrow(). |
|
|
|
|