java.lang.Object
java.lang.ThreadLocal<HashMap<String,String>>
java.lang.InheritableThreadLocal<HashMap<String,String>>
ch.qos.logback.classic.util.CopyOnInheritThreadLocal
This class extends InheritableThreadLocal so that children threads get a copy
of the parent's hashmap.
- Author:
- Ceki Gülcü
-
Constructor Summary
-
Method Summary
Methods inherited from class java.lang.ThreadLocal
get, initialValue, remove, set, withInitial
-
Constructor Details
-
CopyOnInheritThreadLocal
public CopyOnInheritThreadLocal()
-
-
Method Details
-
childValue
Child threads should get a copy of the parent's hashmap.- Overrides:
childValue
in classInheritableThreadLocal<HashMap<String,
String>>
-