Class AbandonedTrace

  • Direct Known Subclasses:
    DelegatingConnection, DelegatingDatabaseMetaData, DelegatingResultSet, DelegatingStatement

    public class AbandonedTrace
    extends java.lang.Object
    Tracks db connection usage for recovering and reporting abandoned db connections. The JDBC Connection, Statement, and ResultSet classes extend this class.
    Version:
    $Revision: 899987 $ $Date: 2010-01-16 11:51:16 -0500 (Sat, 16 Jan 2010) $
    Author:
    Glenn L. Nielsen
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void printStackTrace()
      Prints a stack trace of the code that created this object.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 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:
        config - AbandonedConfig
      • AbandonedTrace

        public AbandonedTrace​(AbandonedTrace parent)
        Construct a new AbandonedTrace with a parent object.
        Parameters:
        parent - AbandonedTrace parent object
    • Method Detail

      • printStackTrace

        public void printStackTrace()
        Prints a stack trace of the code that created this object.