Class CloseByTimeoutTask

java.lang.Object
java.util.TimerTask
xyz.cofe.sql.cpool.CloseByTimeoutTask
All Implemented Interfaces:
java.lang.Runnable

public class CloseByTimeoutTask
extends java.util.TimerTask
Закрывает соединения/statement которые не используется больше определенного времени idleTimeout
Author:
Kamnev Georgiy
  • Field Summary

    Fields 
    Modifier and Type Field Description
    protected ConnectPool connectPool  
  • Constructor Summary

    Constructors 
    Constructor Description
    CloseByTimeoutTask​(ConnectPool cpool)  
  • Method Summary

    Modifier and Type Method Description
    void run()  

    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 Details

  • Constructor Details

  • Method Details

    • run

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