|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectto.etc.dbpool.PoolConfig
public final class PoolConfig
Contains all configurable parameters for a pool that are static after it's configuration.
Method Summary | |
---|---|
boolean |
equals(java.lang.Object b)
Used to compare two pools if a pool is redefined. |
java.lang.String |
getCheckSQL()
If checkConnection is T, this contains the SQL statement to use every time a database connection is reused. |
java.lang.String |
getDriverClassName()
|
java.io.File |
getDriverPath()
|
int |
getLongRunningGracePeriod()
Returns the time, in seconds, that a LONGRUNNING connection is allowed to run past the expiry time. |
int |
getMaxConns()
|
int |
getMinConns()
|
java.lang.String |
getPw()
|
to.etc.dbpool.ScanMode |
getScanMode()
|
java.lang.String |
getUid()
|
java.lang.String |
getUrl()
|
boolean |
isCheckConnection()
T if //every// time this connection is used it's validity must be checked by sending a SQL command to it. |
boolean |
isCollectStatistics()
|
boolean |
isIgnoreUnclosed()
|
boolean |
isLogAllocation()
|
boolean |
isLogAllocationStack()
|
boolean |
isLogResultSetLocations()
|
boolean |
isLogStatements()
|
boolean |
isPrintExceptions()
|
boolean |
isSetlog()
|
boolean |
isSqlTraceMode()
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public boolean equals(java.lang.Object b)
equals
in class java.lang.Object
public int getMaxConns()
public int getMinConns()
public java.lang.String getUrl()
public java.lang.String getDriverClassName()
public java.lang.String getUid()
public java.lang.String getPw()
public java.io.File getDriverPath()
public java.lang.String getCheckSQL()
public boolean isCheckConnection()
public boolean isSetlog()
public boolean isPrintExceptions()
public boolean isLogAllocation()
public boolean isLogAllocationStack()
public boolean isLogStatements()
public boolean isIgnoreUnclosed()
public boolean isLogResultSetLocations()
public boolean isSqlTraceMode()
public boolean isCollectStatistics()
public to.etc.dbpool.ScanMode getScanMode()
public int getLongRunningGracePeriod()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |