Project Wonder 5.0

er.extensions.foundation
Class ERXThreadStorage.ERXThreadStorageCloneableThreadLocal

java.lang.Object
  extended by java.lang.ThreadLocal<T>
      extended by java.lang.InheritableThreadLocal
          extended by er.extensions.concurrency.ERXCloneableThreadLocal
              extended by er.extensions.foundation.ERXThreadStorage.ERXThreadStorageCloneableThreadLocal
Enclosing class:
ERXThreadStorage

protected static class ERXThreadStorage.ERXThreadStorageCloneableThreadLocal
extends ERXCloneableThreadLocal


Field Summary
 
Fields inherited from class er.extensions.concurrency.ERXCloneableThreadLocal
log
 
Constructor Summary
protected ERXThreadStorage.ERXThreadStorageCloneableThreadLocal()
           
 
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
 

Constructor Detail

ERXThreadStorage.ERXThreadStorageCloneableThreadLocal

protected ERXThreadStorage.ERXThreadStorageCloneableThreadLocal()
Method Detail

childValue

protected java.lang.Object childValue(java.lang.Object parentValue)
Description copied from class: ERXCloneableThreadLocal
Clones a copy of the parent object for the child thread. The parentValue must implement the Cloneable interface and have a public clone method.

Overrides:
childValue in class ERXCloneableThreadLocal
Parameters:
parentValue - local object to the parent thread.
Returns:
a cloned value of the parent if not null.

Last updated: Tue, Feb 21, 2017 • 05:45 PM CET

Copyright © 2002 – 2007 Project Wonder.