|
Project Wonder 5.0 | |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.ThreadLocal<T>
java.lang.InheritableThreadLocal
er.extensions.concurrency.ERXCloneableThreadLocal
public class ERXCloneableThreadLocal
ERXClonableThreadLocal
extends InheritableThreadLocal
to bequeath a cloned copy of the parent object to the child thread.
Note: Objects used with this thread local must implement the Cloneable
interface and have a public clone
method.
Field Summary | |
---|---|
protected static org.apache.log4j.Logger |
log
logging support |
Constructor Summary | |
---|---|
ERXCloneableThreadLocal()
|
Method Summary | |
---|---|
protected java.lang.Object |
childValue(java.lang.Object parentValue)
Clones a copy of the parent object for the child thread. |
Methods inherited from class java.lang.ThreadLocal |
---|
get, initialValue, remove, set |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected static final org.apache.log4j.Logger log
Constructor Detail |
---|
public ERXCloneableThreadLocal()
Method Detail |
---|
protected java.lang.Object childValue(java.lang.Object parentValue)
Cloneable
interface and have a public clone
method.
childValue
in class java.lang.InheritableThreadLocal
parentValue
- local object to the parent thread.
|
Last updated: Tue, Feb 21, 2017 05:45 PM CET | |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |