final class PooledByteBufAllocator.PoolThreadLocalCache extends FastThreadLocal<PoolThreadCache>
Constructor and Description |
---|
PoolThreadLocalCache() |
Modifier and Type | Method and Description |
---|---|
protected PoolThreadCache |
initialValue()
Returns the initial value for this thread-local variable.
|
private <T> PoolArena<T> |
leastUsedArena(PoolArena<T>[] arenas) |
protected void |
onRemoval(PoolThreadCache threadCache)
Invoked when this thread local variable is removed by
FastThreadLocal.remove() . |
protected PoolThreadCache initialValue()
FastThreadLocal
initialValue
in class FastThreadLocal<PoolThreadCache>
protected void onRemoval(PoolThreadCache threadCache)
FastThreadLocal
FastThreadLocal.remove()
.onRemoval
in class FastThreadLocal<PoolThreadCache>