public class Log4jv2ThreadContextMap extends Object implements org.apache.logging.log4j.spi.ThreadContextMap
| Constructor and Description |
|---|
Log4jv2ThreadContextMap() |
| Modifier and Type | Method and Description |
|---|---|
void |
clear() |
boolean |
containsKey(String key) |
String |
get(String key) |
Map<String,String> |
getCopy() |
Map<String,String> |
getImmutableMapOrNull() |
boolean |
isEmpty() |
void |
put(String key,
String value) |
void |
remove(String key) |
public void put(String key, String value)
put in interface org.apache.logging.log4j.spi.ThreadContextMappublic String get(String key)
get in interface org.apache.logging.log4j.spi.ThreadContextMappublic void remove(String key)
remove in interface org.apache.logging.log4j.spi.ThreadContextMappublic void clear()
clear in interface org.apache.logging.log4j.spi.ThreadContextMappublic boolean containsKey(String key)
containsKey in interface org.apache.logging.log4j.spi.ThreadContextMappublic Map<String,String> getCopy()
getCopy in interface org.apache.logging.log4j.spi.ThreadContextMappublic Map<String,String> getImmutableMapOrNull()
getImmutableMapOrNull in interface org.apache.logging.log4j.spi.ThreadContextMappublic boolean isEmpty()
isEmpty in interface org.apache.logging.log4j.spi.ThreadContextMapCopyright © 2006–2022 OPS4J - Open Participation Software for Java. All rights reserved.