static class ProcedureManager.ProcedureData
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
private java.util.Set<java.lang.Object> |
addedToSuperProcedures
The set of procedures to which it was added as a super-procedure.
|
private java.lang.String |
admData
Implementation of ADM-DATA attribute.
|
private boolean |
blockLevelUndoThrow
Flag indicating this procedure has BLOCK-LEVEL UNDO, THROW.
|
private java.util.Set<java.lang.String> |
connectedDbs
The set of implicitly connected databases for this procedure.
|
private java.util.Map<HandleResource,java.lang.Object> |
createdResources
A set of all created (and still alive) resources, in this procedure (dynamic or not).
|
private WrappedResource |
currentWindow
A value of CURRENT-WINDOW attribute of THIS-PROCEDURE handle
|
private boolean |
executed
Flag indicating that the program has finished executing.
|
private java.util.Set<Finalizable> |
finalizables
Set of
Finalizable instances which need notification when the persistent procedure
gets deleted. |
private java.util.Map<java.lang.String,Resolvable> |
inHandleFunctions
The map of name of functions defined IN handle in this external program, to their
Resolvable instance. |
private java.lang.ref.WeakReference<java.lang.Object> |
instProc
Handle referencing the instantiating procedure.
|
private boolean |
isSessionSuperProcedure
Flag indicating if this procedure was added as a session super-procedure.
|
private java.lang.String |
name
The name of this program or class.
|
private boolean |
persistent
Flag indicating if the program was ran PERSISTENT.
|
private handle |
phandle
A handle instance for this procedure, so that other handles can be instantiated from it.
|
private java.lang.String |
privateData
The private data of this procedure handle.
|
private java.lang.Object |
referent
The actual referent for this procedure.
|
private boolean |
routineLevelUndoThrow
Flag indicating this procedure has ROUTINE-LEVEL UNDO, THROW.
|
private java.util.Set<Scopeable> |
scopeables
Set of
Scopeable instances which need notification when the persistent procedure
gets deleted. |
private ProcedureManager.SearchMode |
searchMode
The current search-mode for this external program.
|
private boolean |
singleRun
Flag indicating if the program was ran SINGLE-RUN.
|
private boolean |
singleton
Flag indicating if the program was ran SINGLETON.
|
private int |
sourceCount
Counts the number of times this
referent appears on current stack as SOURCE-PROCEDURE. |
private java.util.Deque<java.util.Set<WrappedResource>> |
staticResources
A stack holding the resources created in each top-level block.
|
private java.util.Map<java.lang.Object,ProcedureManager.ProcedureData> |
superProcedures
The list of super-procedures for this procedure, by external program instance.
|
private int |
targetCount
Counts the number of times this
referent appears on current stack as TARGET-PROCEDURE. |
private int |
thisCount
Counts the number of times this
referent appears on current stack as THIS-PROCEDURE. |
private boolean |
transactionModeAutoChained
Flag indicating that a tx needs to be automatically opened after any pending rollback
or commit (the TRANSACTION-MODE AUTOMATIC CHAINED language statement is in effect
for this procedure.
|
private java.lang.Long |
uniqueID
Implementation of UNIQUE-ID attribute.
|
| Constructor and Description |
|---|
ProcedureData(handle phandle,
ProcedureManager.SearchMode searchMode,
java.lang.String name)
Create a new
ProcedureManager.ProcedureData instance using the given
procedure handle and search-mode. |
| Modifier and Type | Method and Description |
|---|---|
(package private) java.lang.Object |
getReferent()
Get the
referent. |
(package private) boolean |
isPersistent()
Get the
persistent flag. |
(package private) boolean |
isSearchSelf()
Check if the search-mode for this external program is SEARCH-SELF.
|
private java.util.Set<java.lang.String> connectedDbs
private boolean transactionModeAutoChained
private java.util.Map<java.lang.Object,ProcedureManager.ProcedureData> superProcedures
private java.util.Map<java.lang.String,Resolvable> inHandleFunctions
Resolvable instance.private final handle phandle
private final java.lang.Object referent
private ProcedureManager.SearchMode searchMode
private java.lang.String privateData
private java.lang.String admData
private java.lang.Long uniqueID
private java.lang.ref.WeakReference<java.lang.Object> instProc
private java.util.Set<Scopeable> scopeables
Scopeable instances which need notification when the persistent procedure
gets deleted.private java.util.Set<Finalizable> finalizables
Finalizable instances which need notification when the persistent procedure
gets deleted.private java.util.Deque<java.util.Set<WrappedResource>> staticResources
private WrappedResource currentWindow
private java.util.Map<HandleResource,java.lang.Object> createdResources
private boolean routineLevelUndoThrow
private boolean blockLevelUndoThrow
private boolean persistent
private boolean singleRun
private boolean singleton
private boolean executed
private boolean isSessionSuperProcedure
private java.util.Set<java.lang.Object> addedToSuperProcedures
private final java.lang.String name
private int sourceCount
referent appears on current stack as SOURCE-PROCEDURE.private int thisCount
referent appears on current stack as THIS-PROCEDURE.private int targetCount
referent appears on current stack as TARGET-PROCEDURE.ProcedureData(handle phandle, ProcedureManager.SearchMode searchMode, java.lang.String name)
ProcedureManager.ProcedureData instance using the given
procedure handle and search-mode.phandle - The procedure handle.searchMode - The search-mode. May be null.name - The name if this program or class.boolean isPersistent()
persistent flag.java.lang.Object getReferent()
referent.boolean isSearchSelf()