Class ConnectionFactory.ConnectionTracker

  • Enclosing class:
    ConnectionFactory

    protected static class ConnectionFactory.ConnectionTracker
    extends java.lang.Object
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected long checkoutTime  
      protected java.sql.Connection theConnection  
      protected java.lang.Exception theTrace  
    • Constructor Summary

      Constructors 
      Constructor Description
      ConnectionTracker​(java.sql.Connection theConnection)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean hasExpired​(long currentTime)  
      void printDetails()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • theConnection

        protected java.sql.Connection theConnection
      • checkoutTime

        protected long checkoutTime
      • theTrace

        protected java.lang.Exception theTrace
    • Constructor Detail

      • ConnectionTracker

        public ConnectionTracker​(java.sql.Connection theConnection)
    • Method Detail

      • hasExpired

        public boolean hasExpired​(long currentTime)
      • printDetails

        public void printDetails()