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

System::getLocks Method

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

The System class getLocks method populates the array specified in the locks parameter with transient instances of the current persistent object locks held by all the processes in the system.

The parameters of 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 this method, see the System class getLocks method in Volume 2 of the JADE Encyclopaedia of Classes.