/** * Remove all values from the MDC. * @since 1.2.16 */ public static void clear() { if (mdc != null) { mdc.clear0(); } }
private void remove0(String key) { if(!java1 && tlm != null) { Hashtable ht = (Hashtable) ((ThreadLocalMap)tlm).get(); if(ht != null) { ht.remove(key); // clean up if this was the last key if (ht.isEmpty()) { clear0(); } } } }
/** * Remove all values from the MDC. * * @since 1.2.16 */ public static void clear() { if (mdc != null) { mdc.clear0(); } }
private void remove0(String key) { if (!java1 && tlm != null) { Hashtable ht = (Hashtable) ((ThreadLocalMap) tlm).get(); if (ht != null) { ht.remove(key); // clean up if this was the last key if (ht.isEmpty()) { clear0(); } } } }
/** * Remove all values from the MDC. * @since 1.2.16 */ public static void clear() { if (mdc != null) { mdc.clear0(); } }
/** * Remove all values from the MDC. * @since 1.2.16 */ public static void clear() { if (mdc != null) { mdc.clear0(); } }
/** * Remove all values from the MDC. * @since 1.2.16 */ public static void clear() { if (mdc != null) { mdc.clear0(); } }
private void remove0(String key) { if(!java1 && tlm != null) { Hashtable ht = (Hashtable) ((ThreadLocalMap)tlm).get(); if(ht != null) { ht.remove(key); // clean up if this was the last key if (ht.isEmpty()) { clear0(); } } } }
private void remove0(String key) { if(!java1 && tlm != null) { Hashtable ht = (Hashtable) ((ThreadLocalMap)tlm).get(); if(ht != null) { ht.remove(key); // clean up if this was the last key if (ht.isEmpty()) { clear0(); } } } }