public class DatabaseConnectionPool
extends java.lang.Object
Constructor and Description |
---|
DatabaseConnectionPool(AbstractSQL _sql) |
DatabaseConnectionPool(AbstractSQL _sql,
int _capacity) |
Modifier and Type | Method and Description |
---|---|
void |
close()
Closes this pool and prevents any further usage of it by signalling the passed Exception wrapped in an IRuntimeException in all calls.
|
void |
close(java.lang.Exception cause) |
void |
free(java.sql.Connection conn) |
java.sql.Connection |
get() |
java.sql.Connection |
get(boolean autoCommit) |
void |
shutdown() |
public DatabaseConnectionPool(AbstractSQL _sql)
public DatabaseConnectionPool(AbstractSQL _sql, int _capacity)
public void close()
public void close(java.lang.Exception cause)
public void shutdown()
public java.sql.Connection get()
public java.sql.Connection get(boolean autoCommit)
public void free(java.sql.Connection conn)
Copyright © 2000-2025 OAshi S.à r.l. All Rights Reserved.