Top Constructors Methods
stormpot

pack-priv final Class ThreadLocalBSlotCache<T extends Poolable>

extends ThreadLocal<BSlotCache<T extends Poolable>>
Class Inheritance

Constructor Summary

AccessConstructor and Description
pack-priv

Method Summary

Modifier and TypeMethod and Description
protected BSlotCache<T>
initialValue()

Overrides java.lang.ThreadLocal.initialValue.

Returns the current thread's "initial value" for this thread-local variable.
Inherited from java.lang.ThreadLocal:
getremovesetwithInitial

Constructor Detail

ThreadLocalBSlotCacheback to summary
pack-priv ThreadLocalBSlotCache()

Method Detail

initialValueback to summary
protected BSlotCache<T> initialValue()

Overrides java.lang.ThreadLocal.initialValue.

Doc from java.lang.ThreadLocal.initialValue.

Returns the current thread's "initial value" for this thread-local variable. This method will be invoked the first time a thread accesses the variable with the get method, unless the thread previously invoked the set method, in which case the initialValue method will not be invoked for the thread. Normally, this method is invoked at most once per thread, but it may be invoked again in case of subsequent invocations of remove followed by get.

Returns:BSlotCache<T>

the initial value for this thread-local

Annotations
@Override