FileDocCategorySizeDatePackage
ThreadLocalMap.javaAPI DocApache log4j 1.2.151330Sat Aug 25 00:09:40 BST 2007org.apache.log4j.helpers

ThreadLocalMap

public final class ThreadLocalMap extends InheritableThreadLocal
ThreadLocalMap extends {@link InheritableThreadLocal} to bequeath a copy of the hashtable of the MDC of the parent thread.
author
Ceki Gülcü
since
1.2

Fields Summary
Constructors Summary
Methods Summary
public final java.lang.ObjectchildValue(java.lang.Object parentValue)

    Hashtable ht = (Hashtable) parentValue;
    if(ht != null) {
      return ht.clone();
    } else {
      return null;
    }