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

Node::getLocks Method

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

The Node class getLocks method populates the array specified in the locks parameter with transient instances of the current locks for the shared transient objects in the node specified as the method receiver.

Any current node can be used as the method receiver.

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

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

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