protected static class ProcessDataContext.ProcessDataSections extends Object
Modifier and Type | Field and Description |
---|---|
protected boolean |
currentSectionSealed |
protected Deque<List<ProcessDataContext.ProcessDataStack>> |
sections
Keeps track of when we added values to which stack (as we do not add
a new value to every stack with every update, but only changed values)
|
Modifier | Constructor and Description |
---|---|
protected |
ProcessDataSections() |
Modifier and Type | Method and Description |
---|---|
void |
addToCurrentSection(ProcessDataContext.ProcessDataStack stack)
Adds a stack to the current section.
|
void |
popCurrentSection()
Pops the current section and removes the
current values from the referenced stacks (including updates
to the MDC)
|
void |
sealCurrentSection()
After a section is sealed, a new section will be created
with the next call to
#addToCurrentSection(ProcessDataStack) |
int |
size() |
protected Deque<List<ProcessDataContext.ProcessDataStack>> sections
protected boolean currentSectionSealed
public void addToCurrentSection(ProcessDataContext.ProcessDataStack stack)
public void popCurrentSection()
public void sealCurrentSection()
#addToCurrentSection(ProcessDataStack)
public int size()
Copyright © 2022. All rights reserved.