Java org.apache.commons.dbcp AbandonedConfig fields, constructors, methods, implement or subclass

Example usage for Java org.apache.commons.dbcp AbandonedConfig fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.apache.commons.dbcp AbandonedConfig.

The text is from its open source code.

Constructor

Method

booleangetLogAbandoned()
Flag to log stack traces for application code which abandoned a Statement or Connection.
booleangetRemoveAbandoned()
Flag to remove abandoned connections if they exceed the removeAbandonedTimeout.
voidsetLogAbandoned(boolean logAbandoned)
Flag to log stack traces for application code which abandoned a Statement or Connection.
voidsetLogWriter(PrintWriter logWriter)
Sets the log writer to be used by this configuration to log information on abandoned objects.
voidsetRemoveAbandoned(boolean removeAbandoned)
Flag to remove abandoned connections if they exceed the removeAbandonedTimeout.
voidsetRemoveAbandonedTimeout(int removeAbandonedTimeout)
Timeout in seconds before an abandoned connection can be removed.