protected static class ProcessDataContext.ProcessDataStack extends Object
Modifier and Type | Field and Description |
---|---|
protected Deque<String> |
deque |
protected String |
mdcName |
Constructor and Description |
---|
ProcessDataStack(String mdcName) |
Modifier and Type | Method and Description |
---|---|
void |
clearMdcProperty() |
String |
getCurrentValue() |
boolean |
isEmpty() |
void |
pushCurrentValue(String value) |
boolean |
pushCurrentValueFromMdc() |
void |
removeCurrentValue() |
void |
updateMdcWithCurrentValue() |
public ProcessDataStack(String mdcName)
mdcName
- is optional. If present, any additions to a stack will also be reflected in the MDC contextpublic boolean isEmpty()
public String getCurrentValue()
public void pushCurrentValue(String value)
public boolean pushCurrentValueFromMdc()
public void removeCurrentValue()
public void clearMdcProperty()
public void updateMdcWithCurrentValue()
Copyright © 2022. All rights reserved.