public class FastThreadLocalThread
extends java.lang.Thread
Thread
,可以快速访问FastThreadLocal
变量。
Constructor and Description |
---|
FastThreadLocalThread() |
FastThreadLocalThread(java.lang.Runnable target) |
FastThreadLocalThread(java.lang.Runnable target, java.lang.String name) |
FastThreadLocalThread(java.lang.String name) |
FastThreadLocalThread(java.lang.ThreadGroup group, java.lang.Runnable target) |
FastThreadLocalThread(java.lang.ThreadGroup group, java.lang.Runnable target, java.lang.String name) |
FastThreadLocalThread(java.lang.ThreadGroup group, java.lang.Runnable target, java.lang.String name, long stackSize) |
FastThreadLocalThread(java.lang.ThreadGroup group, java.lang.String name) |
Modifier and Type | Method and Description |
---|---|
void |
setThreadLocalMap(io.netty.util.internal.InternalThreadLocalMap threadLocalMap)
设置保持线程局部变量绑定到此线程的内部数据结构。
|
io.netty.util.internal.InternalThreadLocalMap |
threadLocalMap()
返回保持线程局部变量绑定到此线程的内部数据结构。
|
boolean |
willCleanupFastThreadLocals()
|
static boolean |
willCleanupFastThreadLocals(java.lang.Thread 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, run, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yield
public FastThreadLocalThread()
public FastThreadLocalThread(java.lang.Runnable target)
public FastThreadLocalThread(java.lang.ThreadGroup group, java.lang.Runnable target)
public FastThreadLocalThread(java.lang.String name)
public FastThreadLocalThread(java.lang.ThreadGroup group, java.lang.String name)
public FastThreadLocalThread(java.lang.Runnable target, java.lang.String name)
public FastThreadLocalThread(java.lang.ThreadGroup group, java.lang.Runnable target, java.lang.String name)
public FastThreadLocalThread(java.lang.ThreadGroup group, java.lang.Runnable target, java.lang.String name, long stackSize)
public final io.netty.util.internal.InternalThreadLocalMap threadLocalMap()
public final void setThreadLocalMap(io.netty.util.internal.InternalThreadLocalMap threadLocalMap)
@UnstableApi public boolean willCleanupFastThreadLocals()
@UnstableApi public static boolean willCleanupFastThreadLocals(java.lang.Thread thread)
Copyright © 2008–2018 The Netty Project. All rights reserved.