Product Information > JADE Object Manager Guide > Chapter 4 - JADE System Instrumentation and Diagnosis > NodegetQueuedLocks Method

Node::getQueuedLocks Method

getQueuedLocks(locks:      LockArray input;
               maxEntries: Integer);

The Node class getQueuedLocks method populates the array specified in the locks parameter with transient instances of the lock requests that are waiting for shared transient objects in the node specified as the method receiver to be unlocked by the processes that currently have them locked.

Any current node can be used as the method receiver.

The parameters for the getQueuedLocks method are listed in the following table.

Parameter Specifies the…
locks Locks array that is to be populated with the lock request instances
maxEntries Maximum number of lock instances that are to be included in the array

The calling process is responsible for creating and deleting the LockArray instance used with this method, as well as deleting the Lock instances inserted into the array.

For an example of the use of and output from this method, see the Node class getQueuedLocks method in Volume 2 of the JADE Encyclopaedia of Classes.