public abstract static class ThreadLocalUtils.ThreadLocalLifecycle extends Object
removeThreadLocals on the ThreadLocalManager passed
to it in init at the appropriate time.| Constructor and Description |
|---|
ThreadLocalUtils.ThreadLocalLifecycle() |
| Modifier and Type | Method and Description |
|---|---|
abstract void |
init(ThreadLocalUtils.ThreadLocalManager manager)
Called after instantiating the ThreadLocalLifecycle so that the
ThreadLocalLifecycle can clean up the ThreadLocalManager at the
appropriate moment.
|
public ThreadLocalUtils.ThreadLocalLifecycle()
public abstract void init(ThreadLocalUtils.ThreadLocalManager manager)
manager - Manager of ThreadLocals that will be cleaned up by
this ThreadLocalLifecycle.ThreadLocalUtils.ThreadLocalManager.removeThreadLocals()Copyright © 2001-2016 The Apache Software Foundation. All Rights Reserved.