LockContentionInfo Class

The LockContentionInfo class is the class that is used to retrieve information about lock contentions. A lock contention occurs when an attempt to lock a persistent object is queued because the object is already locked. Lock contention information is recorded on the database server node. By default, lock contentions are not recorded.

The beginLockContentionStats, clearLockContentionStats, and endLockContentionStats methods defined in the System class enable you control the recording of lock contentions. The getLockContentionStats and getLockContentionInfo methods defined in the System class enable you to retrieve recorded lock contention information.

For details about the properties and method defined in the LockContentionInfo class and an example of displaying lock contention information, see "LockContentionInfo Properties", "LockContentionInfo Method", and "Example of Displaying Lock Contention Information", in the following subsections.

Object

None