public final class InternalThreadLocalMap extends 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.Modifier and Type | Field and Description |
---|---|
long |
rp1
Deprecated.
These padding fields will be removed in the future.
|
long |
rp2
Deprecated.
These padding fields will be removed in the future.
|
long |
rp3
Deprecated.
These padding fields will be removed in the future.
|
long |
rp4
Deprecated.
These padding fields will be removed in the future.
|
long |
rp5
Deprecated.
These padding fields will be removed in the future.
|
long |
rp6
Deprecated.
These padding fields will be removed in the future.
|
long |
rp7
Deprecated.
These padding fields will be removed in the future.
|
long |
rp8
Deprecated.
These padding fields will be removed in the future.
|
static Object |
UNSET
Internal use only.
|
static int |
VARIABLES_TO_REMOVE_INDEX |
public static final int VARIABLES_TO_REMOVE_INDEX
public static final 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 StringBuilder stringBuilder()
public Map<Charset,CharsetEncoder> charsetEncoderCache()
public Map<Charset,CharsetDecoder> charsetDecoderCache()
public <E> ArrayList<E> arrayList()
public <E> ArrayList<E> arrayList(int minCapacity)
public int futureListenerStackDepth()
public void setFutureListenerStackDepth(int futureListenerStackDepth)
public ThreadLocalRandom random()
public Map<Class<?>,TypeParameterMatcher> typeParameterMatcherGetCache()
public Map<Class<?>,Map<String,TypeParameterMatcher>> typeParameterMatcherFindCache()
@Deprecated public IntegerHolder counterHashCode()
@Deprecated public void setCounterHashCode(IntegerHolder counterHashCode)
public int localChannelReaderStackDepth()
public void setLocalChannelReaderStackDepth(int localChannelReaderStackDepth)
public Object indexedVariable(int index)
public boolean setIndexedVariable(int index, Object value)
true
if and only if a new thread-local variable has been createdpublic Object removeIndexedVariable(int index)
public boolean isIndexedVariableSet(int index)
public boolean isCleanerFlagSet(int index)
public void setCleanerFlag(int index)
Copyright © 2008–2024 The Netty Project. All rights reserved.