|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.apache.commons.dbcp.AbandonedConfig
Configuration settings for handling abandoned db connections.
| Constructor Summary | |
AbandonedConfig()
Deprecated. |
|
| Method Summary | |
boolean |
getLogAbandoned()
Deprecated. Flag to log stack traces for application code which abandoned a Statement or Connection. |
boolean |
getRemoveAbandoned()
Deprecated. Flag to remove abandoned connections if they exceed the removeAbandonedTimeout. |
int |
getRemoveAbandonedTimeout()
Deprecated. Timeout in seconds before an abandoned connection can be removed. |
void |
setLogAbandoned(boolean logAbandoned)
Deprecated. Flag to log stack traces for application code which abandoned a Statement or Connection. |
void |
setRemoveAbandoned(boolean removeAbandoned)
Deprecated. Flag to remove abandoned connections if they exceed the removeAbandonedTimeout. |
void |
setRemoveAbandonedTimeout(int removeAbandonedTimeout)
Deprecated. Timeout in seconds before an abandoned connection can be removed. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public AbandonedConfig()
| Method Detail |
public boolean getRemoveAbandoned()
public void setRemoveAbandoned(boolean removeAbandoned)
removeAbandoned - true means abandoned connections will be
removedpublic int getRemoveAbandonedTimeout()
public void setRemoveAbandonedTimeout(int removeAbandonedTimeout)
removeAbandonedTimeout - abandoned timeout in secondspublic boolean getLogAbandoned()
public void setLogAbandoned(boolean logAbandoned)
logAbandoned - true turns on abandoned stack trace logging
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||