public final class PoolConfig extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
PoolConfig.Template |
| Constructor and Description |
|---|
PoolConfig(PoolConfig.Template tpl) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object b)
Used to compare two pools if a pool is redefined.
|
File |
getBinaryLogFile() |
String |
getCheckSQL()
If checkConnection is T, this contains the SQL statement to use every time a
database connection is reused.
|
String |
getDriverClassName() |
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() |
String |
getPw() |
ScanMode |
getScanMode() |
String |
getUid() |
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() |
void |
setLogStatements(boolean logStatements) |
public PoolConfig(PoolConfig.Template tpl)
public boolean equals(Object b)
public int getMaxConns()
public int getMinConns()
public String getUrl()
public String getDriverClassName()
public String getUid()
public String getPw()
public File getDriverPath()
public 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 ScanMode getScanMode()
public File getBinaryLogFile()
public int getLongRunningGracePeriod()
public void setLogStatements(boolean logStatements)
Copyright © 2017 etc.to. All rights reserved.