|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Connection | |
---|---|
com.netflix.astyanax.connectionpool | |
com.netflix.astyanax.connectionpool.impl | |
com.netflix.astyanax.thrift |
Uses of Connection in com.netflix.astyanax.connectionpool |
---|
Methods in com.netflix.astyanax.connectionpool that return Connection | |
---|---|
Connection<CL> |
HostConnectionPool.borrowConnection(int timeout)
Borrow a connection from the host. |
Connection<CL> |
ConnectionFactory.createConnection(HostConnectionPool<CL> pool)
|
Connection<CL> |
HostConnectionPool.openConnection()
This open is different from borrowConnection in that it actually creates a new connection without waiting for one that may be idle. |
Methods in com.netflix.astyanax.connectionpool with parameters of type Connection | |
---|---|
boolean |
HostConnectionPool.closeConnection(Connection<CL> connection)
Close this connection and update internal state |
void |
Connection.AsyncOpenCallback.failure(Connection<CL> conn,
ConnectionException e)
|
boolean |
HostConnectionPool.returnConnection(Connection<CL> connection)
Return a connection to the host's pool. |
void |
Connection.AsyncOpenCallback.success(Connection<CL> conn)
|
Uses of Connection in com.netflix.astyanax.connectionpool.impl |
---|
Fields in com.netflix.astyanax.connectionpool.impl declared as Connection | |
---|---|
protected Connection<CL> |
AbstractExecuteWithFailoverImpl.connection
|
Methods in com.netflix.astyanax.connectionpool.impl that return Connection | |
---|---|
Connection<CL> |
SimpleHostConnectionPool.borrowConnection(int timeout)
Create a connection as long the max hasn't been reached |
Connection<CL> |
RoundRobinExecuteWithFailover.borrowConnection(Operation<CL,R> operation)
|
abstract Connection<CL> |
AbstractExecuteWithFailoverImpl.borrowConnection(Operation<CL,R> operation)
|
Connection<CL> |
SimpleHostConnectionPool.openConnection()
Open a new connection synchronously |
Methods in com.netflix.astyanax.connectionpool.impl with parameters of type Connection | |
---|---|
boolean |
SimpleHostConnectionPool.closeConnection(Connection<CL> connection)
|
boolean |
SimpleHostConnectionPool.returnConnection(Connection<CL> connection)
Return a connection to this host |
protected boolean |
BagOfConnectionsConnectionPoolImpl.returnConnection(Connection<CL> connection)
|
Uses of Connection in com.netflix.astyanax.thrift |
---|
Methods in com.netflix.astyanax.thrift that return Connection | |
---|---|
Connection<org.apache.cassandra.thrift.Cassandra.Client> |
ThriftSyncConnectionFactoryImpl.createConnection(HostConnectionPool<org.apache.cassandra.thrift.Cassandra.Client> pool)
|
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |