private static class SharedVariableManager.VarRegistry extends SharedVariableManager.PersistentRegistry
Modifier and Type | Field and Description |
---|---|
private SharedVariableManager.SharedRegistry |
extentVars
Pool of extent vars which is context-local (with the state at their definition).
|
private SharedVariableManager.SharedRegistry |
noUndoVars
Pool of NO-UNDO vars which is context-local (with the state at their definition).
|
private SharedVariableManager.SharedRegistry[] |
resources
All the shared data.
|
objects
Modifier | Constructor and Description |
---|---|
private |
VarRegistry() |
Modifier and Type | Method and Description |
---|---|
void |
accept(java.util.function.Consumer<SharedVariableManager.SharedRegistry> c)
Accept the specified consumer over all resource registries.
|
SharedVariableManager.VarRegistry |
clone()
Clone this instance.
|
void |
collectUndoables(java.util.IdentityHashMap<LazyUndoable,java.lang.Object> removed,
java.lang.Object o)
Collect the undoables for this resource in the specified map.
|
private final SharedVariableManager.SharedRegistry extentVars
private final SharedVariableManager.SharedRegistry noUndoVars
private SharedVariableManager.SharedRegistry[] resources
public SharedVariableManager.VarRegistry clone()
clone
in class SharedVariableManager.PersistentRegistry
public void accept(java.util.function.Consumer<SharedVariableManager.SharedRegistry> c)
accept
in class SharedVariableManager.PersistentRegistry
c
- The operation to perform.public void collectUndoables(java.util.IdentityHashMap<LazyUndoable,java.lang.Object> removed, java.lang.Object o)
collectUndoables
in class SharedVariableManager.PersistentRegistry
removed
- The map where to add the undoables.o
- The original object.