|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ConnectionStrategy
Marker interface.
| Method Summary | |
|---|---|
Connection |
getConnection()
Obtains a connection using the configured strategy. |
Connection |
pollConnection()
Obtains a connection using the configured strategy without blocking. |
void |
terminateAllConnections()
Destroys all connections using this strategy. |
| Method Detail |
|---|
Connection getConnection()
throws SQLException
SQLException - on errorConnection pollConnection()
void terminateAllConnections()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||