private 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 character |
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 handle |
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 handle |
instProc
Handle referencing the instantiating procedure.
|
private boolean |
isSessionSuperProcedure
Flag indicating if this procedure was added as a session super-procedure.
|
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 character |
privateData
The private data of this procedure handle.
|
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 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 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 integer |
uniqueID
Implementation of UNIQUE-ID attribute.
|
Constructor and Description |
---|
ProcedureData(handle phandle,
ProcedureManager.SearchMode searchMode)
Create a new
ProcedureManager.ProcedureData instance using the given
procedure handle and search-mode. |
Modifier and Type | Method and Description |
---|---|
(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 final java.util.Map<java.lang.Object,ProcedureManager.ProcedureData> superProcedures
private final java.util.Map<java.lang.String,Resolvable> inHandleFunctions
Resolvable
instance.private handle phandle
private ProcedureManager.SearchMode searchMode
private character privateData
private final character admData
private final integer uniqueID
private final handle 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 handle 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
ProcedureData(handle phandle, ProcedureManager.SearchMode searchMode)
ProcedureManager.ProcedureData
instance using the given
procedure handle and search-mode.phandle
- The procedure handle.searchMode
- The search-mode. May be null.