Class Log4jv2ThreadContextStack

  • All Implemented Interfaces:
    Serializable, Iterable<String>, Collection<String>, org.apache.logging.log4j.spi.ThreadContextStack, ThreadContext.ContextStack

    public class Log4jv2ThreadContextStack
    extends Object
    implements org.apache.logging.log4j.spi.ThreadContextStack
    A copy-on-write thread-safe variant of org.apache.logging.log4j.spi.ThreadContextStack in which all mutative operations (add, pop, and so on) are implemented by making a fresh copy of the underlying list.
    See Also:
    Serialized Form