Lock Class Constants

The constants provided by the Lock class are listed in the following table.

Constant Character Value Description
Kind_Local '01' Applies to stable objects and represents a shared, transient duration lock that has an associated node lock (Kind_Node) entry in the database server lock tables. There is no individual lock entry for the process in the database server lock tables (unless the process is a server application).
Kind_Node '02' Applies to stable objects and represents a shared, transient duration lock that can be held by one or more processes on the node associated with the node lock. The associated background process of the node is used as the locking process. A node lock is released when an exclusive lock request is received or the object is removed from the node’s cache and there are no processes on the associated node that have the object locked with local locks.
Kind_Normal '00' Represents a lock held by a process. It is released when the process unlocks the object.

For more details, see the kind property.