public class FastThreadLocalThread
extends java.lang.Thread
Thread
that provides fast access to FastThreadLocal
variables.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)
Sets the internal data structure that keeps the thread-local variables bound to this thread.
|
io.netty.util.internal.InternalThreadLocalMap |
threadLocalMap()
Returns the internal data structure that keeps the thread-local variables bound to this thread.
|
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.