类 IdleConnectionReaper
java.lang.Object
java.lang.Thread
com.digiwin.dap.middleware.emc.common.comm.IdleConnectionReaper
- 所有已实现的接口:
Runnable
A daemon thread used to periodically check connection pools for idle
* connections.
- 从以下版本开始:
- 1.0.0
- 作者:
- fobgochod
-
嵌套类概要
从类继承的嵌套类/接口 java.lang.Thread
Thread.Builder, Thread.State, Thread.UncaughtExceptionHandler -
字段概要
从类继承的字段 java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY -
方法概要
修饰符和类型方法说明static voidregister(org.apache.hc.client5.http.io.HttpClientConnectionManager connectionManager) static voidremove(org.apache.hc.client5.http.io.HttpClientConnectionManager connectionManager) voidrun()static voidsetIdleConnectionTime(long idletime) static voidshutdown()static intsize()从类继承的方法 java.lang.Thread
activeCount, checkAccess, clone, countStackFrames, currentThread, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, isVirtual, join, join, join, join, ofPlatform, ofVirtual, onSpinWait, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, sleep, start, startVirtualThread, stop, suspend, threadId, toString, yield
-
方法详细资料
-
register
public static void register(org.apache.hc.client5.http.io.HttpClientConnectionManager connectionManager) -
remove
public static void remove(org.apache.hc.client5.http.io.HttpClientConnectionManager connectionManager) -
shutdown
public static void shutdown() -
size
public static int size() -
setIdleConnectionTime
public static void setIdleConnectionTime(long idletime) -
run
public void run()
-