|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.apithefire.sql.c3p0.C3p0ConnectionPool
public class C3p0ConnectionPool
A C3P0 connection pool.
| Nested Class Summary | |
|---|---|
static class |
C3p0ConnectionPool.C3p0ConnectionPoolBuilder
A C3p0ConnectionPool builder. |
| Nested classes/interfaces inherited from interface org.apithefire.sql.connect.ConnectionPool |
|---|
ConnectionPool.ConnectionPoolBuilder |
| Method Summary | |
|---|---|
void |
close()
|
java.sql.Connection |
getConnection()
|
int |
getMaxPoolSize()
|
int |
getMinPoolSize()
|
static C3p0ConnectionPool.C3p0ConnectionPoolBuilder |
newBuilder()
Returns a new C3p0ConnectionPool.C3p0ConnectionPoolBuilder. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
@BuilderFactory public static C3p0ConnectionPool.C3p0ConnectionPoolBuilder newBuilder()
C3p0ConnectionPool.C3p0ConnectionPoolBuilder.
public int getMinPoolSize()
getMinPoolSize in interface ConnectionPoolpublic int getMaxPoolSize()
getMaxPoolSize in interface ConnectionPoolpublic java.sql.Connection getConnection()
getConnection in interface ConnectionProviderpublic void close()
close in interface ConnectionPoolclose in interface Closeable
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||