Stack function ( ) { Stack loc0 = getCurrentStack ( ) ; if ( loc0 == null ) return null ; else { return ( Stack ) loc0 . clone ( ) ; } }
clone the diagnostic context for the current thread . internally a diagnostic context is represented as a stack . a given thread can supply the stack i.e. diagnostic context to a child thread so that the child can inherit the parent thread 's diagnostic context . the child thread uses the #inherit inherit method toinherit the parent 's diagnostic context . concode_field_sep Hashtable ht concode_elem_sep int pushCounter concode_elem_sep String fullMessage concode_elem_sep String message concode_elem_sep int REAP_THRESHOLD concode_field_sep String pop concode_elem_sep Stack getCurrentStack concode_elem_sep int getDepth concode_elem_sep void lazyRemove concode_elem_sep void setMaxDepth concode_elem_sep void inherit concode_elem_sep String get concode_elem_sep void clear concode_elem_sep void push concode_elem_sep void remove concode_elem_sep String peek