You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4j-user@logging.apache.org by DONNIE HALE <DH...@longaberger.com> on 2001/12/21 16:01:32 UTC

Difference between NDC.clear and NDC.remove

Can someone please explain the difference between NDC.clear and NDC.remove? The only help the javadocs give is that remove has something to do with making sure a thread can be gc'd. But in terms of semantics and what happens to the value(s) on the stack, is there a difference? The doc for clear doesn't say "for this thread" as the doc for remove does. Is that significant?

Thanks,

Donnie



--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>