|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use PooledConnection | |
|---|---|
| net.dataforte.cassandra.pool | |
| Uses of PooledConnection in net.dataforte.cassandra.pool |
|---|
| Methods in net.dataforte.cassandra.pool that return PooledConnection | |
|---|---|
protected PooledConnection |
ConnectionPool.borrowConnection(long now,
PooledConnection con)
Validates and configures a previously idle connection |
protected PooledConnection |
ConnectionPool.create()
Create a new pooled connection object. |
protected PooledConnection |
ConnectionPool.createConnection(long now,
PooledConnection con)
Creates a Cassandra connection and tries to connect to the database. |
| Methods in net.dataforte.cassandra.pool with parameters of type PooledConnection | |
|---|---|
protected void |
ConnectionPool.abandon(PooledConnection con)
thread safe way to abandon a connection signals a connection to be abandoned. this will disconnect the connection, and log the stack trace if logAbanded=true |
protected PooledConnection |
ConnectionPool.borrowConnection(long now,
PooledConnection con)
Validates and configures a previously idle connection |
protected PooledConnection |
ConnectionPool.createConnection(long now,
PooledConnection con)
Creates a Cassandra connection and tries to connect to the database. |
protected void |
ConnectionPool.disconnectEvent(PooledConnection con,
boolean finalizing)
Hook to perform final actions on a pooled connection object once it has been disconnected and will be discarded |
protected void |
ConnectionPool.finalize(PooledConnection con)
Hook to perform final actions on a pooled connection object once it has been disconnected and will be discarded |
protected void |
ConnectionPool.release(PooledConnection con)
thread safe way to release a connection |
protected void |
ConnectionPool.returnConnection(PooledConnection con)
Returns a connection to the pool If the pool is closed, the connection will be released If the connection is not part of the busy queue, it will be released. |
protected boolean |
ConnectionPool.shouldClose(PooledConnection con,
int action)
Determines if a connection should be closed upon return to the pool. |
protected void |
ConnectionPool.suspect(PooledConnection con)
thread safe way to abandon a connection signals a connection to be abandoned. this will disconnect the connection, and log the stack trace if logAbanded=true |
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||