public class InMemoryStateInternals extends MergingStateInternals
StateInternals. Used in BatchModeExecutionContext
and for running tests that need state.| Modifier and Type | Field and Description |
|---|---|
protected StateTable |
inMemoryState |
| Constructor and Description |
|---|
InMemoryStateInternals() |
| Modifier and Type | Method and Description |
|---|---|
void |
clear() |
protected boolean |
isEmptyForTesting(State state)
Return true if the given state is empty.
|
<T extends State> |
state(StateNamespace namespace,
StateTag<T> address)
Return the state associated with
address in the specified namespace. |
mergedStateprotected final StateTable inMemoryState
public void clear()
protected boolean isEmptyForTesting(State state)
public <T extends State> T state(StateNamespace namespace, StateTag<T> address)
StateInternalsaddress in the specified namespace.