ConnectionPool.PoolCleaner (Apache Tomcat 7.0.96 API Documentation)

org.apache.tomcat.jdbc.pool

## Class ConnectionPool.PoolCleaner

- java.lang.Object
- - java.util.TimerTask
  - - org.apache.tomcat.jdbc.pool.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 and Description
    --- | ---
    `protected java.lang.ref.WeakReference<ConnectionPool>` | `pool`
    `protected long` | `sleepTime`

  - ### Method Summary

    Methods
    Modifier and Type | Method and 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

    - #### pool

          protected java.lang.ref.WeakReference<ConnectionPool> pool

    - #### 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()

Copyright © 2000-2019 Apache Software Foundation. All Rights Reserved.