private static class SharedVariableManager.WorkArea
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private java.util.Map<java.lang.Object,java.lang.Object> |
bufferCreator
MAp with each buffer's external program, where it was defined.
|
private SharedVariableManager.SharedRegistry |
buffers
Pool of buffers which is context-local.
|
private SharedVariableManager.SharedRegistry |
frames
Pool of frames which is context-local.
|
private SharedVariableManager.VarRegistry |
globalVars
Global variable pool which is context-local.
|
private SharedVariableManager.SharedRegistry |
menus
Pool of menus which is context-local.
|
private SharedVariableManager.VarRegistry |
pendingVars
The vars being defined in the currently instantiating external program.
|
private SharedVariableManager.SharedRegistry[] |
resources
All the shared data.
|
private SharedVariableManager.SharedRegistry |
streams
Pool of streams which is context-local.
|
private SharedVariableManager.SharedRegistry |
tempTables
Temp-table pool which is context-local.
|
private java.util.Map<java.lang.Object,SharedVariableManager.VarRegistry> |
varDictionaries
The shared var dictionaries, saved per each external program.
|
private java.util.IdentityHashMap<java.lang.Object,java.util.concurrent.atomic.AtomicInteger> |
varRefs
Track references for all shared variables, in all registries (not defined/used) - when
the reference count reaches zero, they will be removed from the transaction-related
registries.
|
Modifier | Constructor and Description |
---|---|
private |
WorkArea() |
Modifier and Type | Method and Description |
---|---|
SharedVariableManager.VarRegistry |
getPendingVars(boolean source)
Resolve the var registry or return the
pendingVars if it was already resolved. |
private java.util.Map<java.lang.Object,java.lang.Object> bufferCreator
private java.util.Map<java.lang.Object,SharedVariableManager.VarRegistry> varDictionaries
private SharedVariableManager.VarRegistry pendingVars
private SharedVariableManager.VarRegistry globalVars
private java.util.IdentityHashMap<java.lang.Object,java.util.concurrent.atomic.AtomicInteger> varRefs
private SharedVariableManager.SharedRegistry streams
private SharedVariableManager.SharedRegistry buffers
private SharedVariableManager.SharedRegistry tempTables
private SharedVariableManager.SharedRegistry frames
private SharedVariableManager.SharedRegistry menus
private SharedVariableManager.SharedRegistry[] resources
public SharedVariableManager.VarRegistry getPendingVars(boolean source)
pendingVars
if it was already resolved.source
- Flag indicating which procedure to use as master registry: when true
,
use SOURCE-PROCEDURE, otherwise THIS-PROCEDURE.pendingVars
registry.