org.mortbay.util
Class ByteArrayPool.BAThreadLocal

java.lang.Object
java.lang.ThreadLocal
org.mortbay.util.ByteArrayPool.BAThreadLocal
- Enclosing class:
- ByteArrayPool
- private static final class ByteArrayPool.BAThreadLocal
- extends java.lang.ThreadLocal
|
Method Summary |
protected java.lang.Object |
initialValue()
Called once per thread on the first invocation of get(), if set() was
not already called. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ByteArrayPool.BAThreadLocal
private ByteArrayPool.BAThreadLocal()
initialValue
protected java.lang.Object initialValue()
- Description copied from class:
java.lang.ThreadLocal
- Called once per thread on the first invocation of get(), if set() was
not already called. The default implementation returns
null.
Often, this method is overridden to create the appropriate initial object
for the current thread's view of the ThreadLocal.