Lock Properties
The properties defined in the Lock class are summarized in the following table.
| Property | Description |
|---|---|
| duration | Specifies when the object is automatically unlocked |
| elapsedTime | Contains the time that the lock has been in place |
| kind | Contains the type of lock (that is, normal, local, node, or node lock to be removed) |
| lockedBy | Contains the process that currently holds a lock |
| requestedBy | Contains the process that submitted the lock request |
| requestTime | Contains the date and time of the lock request |
| type | Contains the type of lock request |
| waitTime | Contains the length of time the lock request waits |
