Class MCRIdleConnectionMonitorThread

java.lang.Object
java.lang.Thread
org.mycore.services.http.MCRIdleConnectionMonitorThread
All Implemented Interfaces:
Runnable

public class MCRIdleConnectionMonitorThread extends Thread
Monitors a HttpClientConnectionManager for expired or idle connections. These connections will be closed every 5 seconds.
Author:
Thomas Scheffler (yagee)
  • Constructor Details

    • MCRIdleConnectionMonitorThread

      public MCRIdleConnectionMonitorThread(org.apache.http.conn.HttpClientConnectionManager connMgr)
  • Method Details

    • run

      public void run()
      Specified by:
      run in interface Runnable
      Overrides:
      run in class Thread
    • shutdown

      public void shutdown()