Class ConnectionPool.PoolCleaner

  • All Implemented Interfaces:
    java.lang.Runnable
    Enclosing class:
    ConnectionPool

    protected static class ConnectionPool.PoolCleaner
    extends java.util.TimerTask
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected java.lang.ref.WeakReference<ConnectionPool> pool  
      protected long sleepTime  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void run()  
      void start()  
      void stopRunning()  
      • Methods inherited from class java.util.TimerTask

        cancel, scheduledExecutionTime
      • Methods inherited from class java.lang.Object

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

      • sleepTime

        protected long sleepTime
    • Method Detail

      • run

        public void run()
        Specified by:
        run in interface java.lang.Runnable
        Specified by:
        run in class java.util.TimerTask
      • start

        public void start()
      • stopRunning

        public void stopRunning()