public class PooledConnection extends Object implements PooledConnection
| Constructor and Description |
|---|
PooledConnection(DBAccess aDBAccess,
String aDatabaseName) |
| Modifier and Type | Method and Description |
|---|---|
void |
addConnectionEventListener(ConnectionEventListener p0) |
void |
addStatementEventListener(StatementEventListener arg0) |
void |
close() |
Connection |
getConnection()
Will return the connection to the Database.
|
ConnectionQueue |
getConnectionQueue() |
int |
getDefError() |
List<Object> |
getPooledServiceData() |
int |
open(String aDBUrl,
String aPoolName,
String aLogin,
String aPassword,
int aMinPool,
int aMaxPool,
boolean aReadOnly) |
void |
removeConnectionEventListener(ConnectionEventListener p0) |
void |
removeStatementEventListener(StatementEventListener arg0) |
void |
setConnectionPool(ConnectionPool aPool) |
public ConnectionQueue getConnectionQueue()
public void setConnectionPool(ConnectionPool aPool)
public int open(String aDBUrl, String aPoolName, String aLogin, String aPassword, int aMinPool, int aMaxPool, boolean aReadOnly)
public void close()
throws SQLException
close in interface PooledConnectionSQLExceptionpublic Connection getConnection() throws SQLException
getConnection in interface PooledConnectionSQLExceptionpublic void addConnectionEventListener(ConnectionEventListener p0)
addConnectionEventListener in interface PooledConnectionpublic void removeConnectionEventListener(ConnectionEventListener p0)
removeConnectionEventListener in interface PooledConnectionpublic int getDefError()
public void addStatementEventListener(StatementEventListener arg0)
addStatementEventListener in interface PooledConnectionpublic void removeStatementEventListener(StatementEventListener arg0)
removeStatementEventListener in interface PooledConnectionCopyright © 2020. All rights reserved.