com.aliyun.oss.common.comm

## 类 IdleConnectionReaper

- java.lang.Object
- - java.lang.Thread
  - - com.aliyun.oss.common.comm.IdleConnectionReaper

- 所有已实现的接口:
    Runnable

      public final class IdleConnectionReaper
      extends Thread

  A daemon thread used to periodically check connection pools for idle connections.

- - ### 嵌套类概要

    - ### 从类继承的嵌套类/接口 java.lang.Thread

      `Thread.State, Thread.UncaughtExceptionHandler`

  - ### 字段概要

    - ### 从类继承的字段 java.lang.Thread

      `MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY`

  - ### 方法概要

    方法
    限定符和类型 | 方法和说明
    --- | ---
    `static boolean` | `registerConnectionManager(org.apache.http.conn.HttpClientConnectionManager connectionManager)`
    `static boolean` | `removeConnectionManager(org.apache.http.conn.HttpClientConnectionManager connectionManager)`
    `void` | `run()`
    `static void` | `setIdleConnectionTime(long idletime)`
    `static boolean` | `shutdown()`
    `static int` | `size()`

    - ### 从类继承的方法 java.lang.Thread

      `activeCount, checkAccess, clone, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yield`

    - ### 从类继承的方法 java.lang.Object

      `equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

- - ### 方法详细资料

    - #### registerConnectionManager

          public static boolean registerConnectionManager(org.apache.http.conn.HttpClientConnectionManager connectionManager)

    - #### removeConnectionManager

          public static boolean removeConnectionManager(org.apache.http.conn.HttpClientConnectionManager connectionManager)

    - #### run

          public void run()

      指定者:
        `run` 在接口中 `Runnable`
      覆盖:
        `run` 在类中 `Thread`

    - #### shutdown

          public static boolean shutdown()

    - #### size

          public static int size()

    - #### setIdleConnectionTime

          public static void setIdleConnectionTime(long idletime)

Copyright © 2020. All Rights Reserved.