public final class InternalThreadLocalMap
extends java.lang.Object
FastThreadLocal
s.
Note that this class is for internal use only and is subject to change at any time. Use FastThreadLocal
unless you know what you are doing.限定符和类型 | 字段和说明 |
---|---|
long |
rp1
已过时。
These padding fields will be removed in the future.
|
long |
rp2
已过时。
These padding fields will be removed in the future.
|
long |
rp3
已过时。
These padding fields will be removed in the future.
|
long |
rp4
已过时。
These padding fields will be removed in the future.
|
long |
rp5
已过时。
These padding fields will be removed in the future.
|
long |
rp6
已过时。
These padding fields will be removed in the future.
|
long |
rp7
已过时。
These padding fields will be removed in the future.
|
long |
rp8
已过时。
These padding fields will be removed in the future.
|
static java.lang.Object |
UNSET
Internal use only.
|
static int |
VARIABLES_TO_REMOVE_INDEX |
限定符和类型 | 方法和说明 |
---|---|
<E> java.util.ArrayList<E> |
arrayList() |
<E> java.util.ArrayList<E> |
arrayList(int minCapacity) |
java.util.Map<java.nio.charset.Charset,java.nio.charset.CharsetDecoder> |
charsetDecoderCache() |
java.util.Map<java.nio.charset.Charset,java.nio.charset.CharsetEncoder> |
charsetEncoderCache() |
IntegerHolder |
counterHashCode()
已过时。
|
static void |
destroy() |
int |
futureListenerStackDepth() |
static InternalThreadLocalMap |
get() |
static InternalThreadLocalMap |
getIfSet() |
java.util.Map<java.lang.Class<?>,java.lang.Boolean> |
handlerSharableCache() |
java.lang.Object |
indexedVariable(int index) |
boolean |
isCleanerFlagSet(int index) |
boolean |
isIndexedVariableSet(int index) |
static int |
lastVariableIndex() |
int |
localChannelReaderStackDepth() |
static int |
nextVariableIndex() |
ThreadLocalRandom |
random() |
static void |
remove() |
java.lang.Object |
removeIndexedVariable(int index) |
void |
setCleanerFlag(int index) |
void |
setCounterHashCode(IntegerHolder counterHashCode)
已过时。
|
void |
setFutureListenerStackDepth(int futureListenerStackDepth) |
boolean |
setIndexedVariable(int index,
java.lang.Object value) |
void |
setLocalChannelReaderStackDepth(int localChannelReaderStackDepth) |
int |
size() |
java.lang.StringBuilder |
stringBuilder() |
java.util.Map<java.lang.Class<?>,java.util.Map<java.lang.String,TypeParameterMatcher>> |
typeParameterMatcherFindCache() |
java.util.Map<java.lang.Class<?>,TypeParameterMatcher> |
typeParameterMatcherGetCache() |
public static final int VARIABLES_TO_REMOVE_INDEX
public static final java.lang.Object UNSET
public long rp1
public long rp2
public long rp3
public long rp4
public long rp5
public long rp6
public long rp7
public long rp8
public static InternalThreadLocalMap getIfSet()
public static InternalThreadLocalMap get()
public static void remove()
public static void destroy()
public static int nextVariableIndex()
public static int lastVariableIndex()
public int size()
public java.lang.StringBuilder stringBuilder()
public java.util.Map<java.nio.charset.Charset,java.nio.charset.CharsetEncoder> charsetEncoderCache()
public java.util.Map<java.nio.charset.Charset,java.nio.charset.CharsetDecoder> charsetDecoderCache()
public <E> java.util.ArrayList<E> arrayList()
public <E> java.util.ArrayList<E> arrayList(int minCapacity)
public int futureListenerStackDepth()
public void setFutureListenerStackDepth(int futureListenerStackDepth)
public ThreadLocalRandom random()
public java.util.Map<java.lang.Class<?>,TypeParameterMatcher> typeParameterMatcherGetCache()
public java.util.Map<java.lang.Class<?>,java.util.Map<java.lang.String,TypeParameterMatcher>> typeParameterMatcherFindCache()
@Deprecated public IntegerHolder counterHashCode()
@Deprecated public void setCounterHashCode(IntegerHolder counterHashCode)
public java.util.Map<java.lang.Class<?>,java.lang.Boolean> handlerSharableCache()
public int localChannelReaderStackDepth()
public void setLocalChannelReaderStackDepth(int localChannelReaderStackDepth)
public java.lang.Object indexedVariable(int index)
public boolean setIndexedVariable(int index, java.lang.Object value)
true
if and only if a new thread-local variable has been createdpublic java.lang.Object removeIndexedVariable(int index)
public boolean isIndexedVariableSet(int index)
public boolean isCleanerFlagSet(int index)
public void setCleanerFlag(int index)