com.netflix.astyanax.connectionpool.Connection<CL> |
Interface to an instance of a connection on a host.
Nested Classes | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Connection.AsyncOpenCallback<CL> |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Shut down the connection.
| |||||||||||
Execute an operation on the connection and return a result@return
| |||||||||||
Get the host for this connection
| |||||||||||
Get the parent host connection pool.
| |||||||||||
Get the last exception that caused the connection to be closed
| |||||||||||
Number of operations performed on this connections since it was opened
| |||||||||||
Open a new connection
| |||||||||||
Open a connection asynchronously and call the callback on connection or
failure
|
Shut down the connection. isOpen() will now return false.
Execute an operation on the connection and return a result@return
ConnectionException |
---|
Get the parent host connection pool.
Get the last exception that caused the connection to be closed
Number of operations performed on this connections since it was opened
Open a connection asynchronously and call the callback on connection or failure