getLockCallStack

getLockCallStack(target:    Object;
                 callStack: ProcessStackArray input): Boolean;

The getLockCallStack method of the Object class returns the lock call stack for a locked object.

The target parameter specifies a currently locked object. The callStack parameter is populated with the call stack of the process at the time the object was locked. If the object is not currently locked, an empty call stack is returned.

This method returns a lock call stack only when JADE has been set to record the current call stack for the process that locked the object.

To dynamically set whether JADE records the lock call stack when a process locks an object, use the Process class setSaveLockCallStack method.

To enable automatic recording of the lock call stack for all client processes, use the DefaultProcessSaveLockCallStack parameter in the [JadeClient] section of the JADE initialization file. To enable automatic recording of the lock call stack for all database server processes, use the DefaultProcessSaveLockCallStack parameter in the [JadeServer] section of the JADE initialization file.

2016.0.01 and higher