类 InternalThread
- java.lang.Object
-
- java.lang.Thread
-
- com.alibaba.dubbo.common.threadlocal.InternalThread
-
-
嵌套类概要
-
从类继承的嵌套类/接口 java.lang.Thread
Thread.State, Thread.UncaughtExceptionHandler
-
-
字段概要
-
从类继承的字段 java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
-
-
构造器概要
构造器 构造器 说明 InternalThread()
InternalThread(Runnable target)
InternalThread(Runnable target, String name)
InternalThread(String name)
InternalThread(ThreadGroup group, Runnable target)
InternalThread(ThreadGroup group, Runnable target, String name)
InternalThread(ThreadGroup group, Runnable target, String name, long stackSize)
InternalThread(ThreadGroup group, String name)
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 void
setThreadLocalMap(InternalThreadLocalMap threadLocalMap)
Sets the internal data structure that keeps the threadLocal variables bound to this thread.InternalThreadLocalMap
threadLocalMap()
Returns the internal data structure that keeps the threadLocal variables bound to this thread.-
从类继承的方法 java.lang.Thread
activeCount, checkAccess, countStackFrames, currentThread, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, onSpinWait, resume, run, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, suspend, toString, yield
-
-
-
-
构造器详细资料
-
InternalThread
public InternalThread()
-
InternalThread
public InternalThread(Runnable target)
-
InternalThread
public InternalThread(ThreadGroup group, Runnable target)
-
InternalThread
public InternalThread(String name)
-
InternalThread
public InternalThread(ThreadGroup group, String name)
-
InternalThread
public InternalThread(ThreadGroup group, Runnable target, String name)
-
InternalThread
public InternalThread(ThreadGroup group, Runnable target, String name, long stackSize)
-
-
方法详细资料
-
threadLocalMap
public final InternalThreadLocalMap threadLocalMap()
Returns the internal data structure that keeps the threadLocal variables bound to this thread. Note that this method is for internal use only, and thus is subject to change at any time.
-
setThreadLocalMap
public final void setThreadLocalMap(InternalThreadLocalMap threadLocalMap)
Sets the internal data structure that keeps the threadLocal variables bound to this thread. Note that this method is for internal use only, and thus is subject to change at any time.
-
-