org.apache.commons.dbcp

Class AbandonedTrace

public class AbandonedTrace extends Object

Deprecated: This will be removed in a future version of DBCP.

Tracks db connection usage for recovering and reporting abandoned db connections. The JDBC Connection, Statement, and ResultSet classes extend this class.

Version: $Revision: 1.12 $ $Date: 2004/04/25 10:36:24 $

Author: Glenn L. Nielsen

Constructor Summary
AbandonedTrace()
Create a new AbandonedTrace without config and without doing abandoned tracing.
AbandonedTrace(AbandonedConfig config)
Construct a new AbandonedTrace with no parent object.
AbandonedTrace(AbandonedTrace parent)
Construct a new AbandonedTrace with a parent object.
Method Summary
voidprintStackTrace()
If logAbandoned=true, print a stack trace of the code that created this object.

Constructor Detail

AbandonedTrace

public AbandonedTrace()
Create a new AbandonedTrace without config and without doing abandoned tracing.

AbandonedTrace

public AbandonedTrace(AbandonedConfig config)
Construct a new AbandonedTrace with no parent object.

Parameters: AbandonedConfig

AbandonedTrace

public AbandonedTrace(AbandonedTrace parent)
Construct a new AbandonedTrace with a parent object.

Parameters: AbandonedTrace parent object

Method Detail

printStackTrace

public void printStackTrace()
If logAbandoned=true, print a stack trace of the code that created this object.
Copyright © 2001-2003 Apache Software Foundation. Documenation generated February 19 2008.