程序包 | 说明 |
---|---|
io.netty.util.concurrent |
Utility classes for concurrent / async tasks.
|
io.netty.util.internal |
Internal-use-only utilities which is not allowed to be used
outside Netty.
|
限定符和类型 | 方法和说明 |
---|---|
InternalThreadLocalMap |
FastThreadLocalThread.threadLocalMap()
Returns the internal data structure that keeps the thread-local variables bound to this thread.
|
限定符和类型 | 方法和说明 |
---|---|
V |
FastThreadLocal.get(InternalThreadLocalMap threadLocalMap)
Returns the current value for the specified thread local map.
|
boolean |
FastThreadLocal.isSet(InternalThreadLocalMap threadLocalMap)
Returns
true if and only if this thread-local variable is set. |
void |
FastThreadLocal.remove(InternalThreadLocalMap threadLocalMap)
Sets the value to uninitialized for the specified thread local map;
a proceeding call to get() will trigger a call to initialValue().
|
void |
FastThreadLocal.set(InternalThreadLocalMap threadLocalMap,
V value)
Set the value for the specified thread local map.
|
void |
FastThreadLocalThread.setThreadLocalMap(InternalThreadLocalMap threadLocalMap)
Sets the internal data structure that keeps the thread-local variables bound to this thread.
|
限定符和类型 | 方法和说明 |
---|---|
static InternalThreadLocalMap |
InternalThreadLocalMap.get() |
static InternalThreadLocalMap |
InternalThreadLocalMap.getIfSet() |