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 |
long |
rp2 |
long |
rp3 |
long |
rp4 |
long |
rp5 |
long |
rp6 |
long |
rp7 |
long |
rp8 |
long |
rp9 |
static Object |
UNSET |
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 long rp9
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–2019 The Netty Project. All rights reserved.