ch.qos.logback.classic.util
Class CopyOnInheritThreadLocal
java.lang.Object
java.lang.ThreadLocal<T>
java.lang.InheritableThreadLocal<HashMap<String,String>>
ch.qos.logback.classic.util.CopyOnInheritThreadLocal
public class CopyOnInheritThreadLocal
- extends InheritableThreadLocal<HashMap<String,String>>
This class extends InheritableThreadLocal so that children threads get a copy
of the parent's hashmap.
- Author:
- Ceki Gülcü
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CopyOnInheritThreadLocal
public CopyOnInheritThreadLocal()
childValue
protected HashMap<String,String> childValue(HashMap<String,String> parentValue)
- Child threads should get a copy of the parent's hashmap.
- Overrides:
childValue
in class InheritableThreadLocal<HashMap<String,String>>
Copyright © 2005-2013 QOS.ch. All Rights Reserved.