Uses of Class
java.lang.management.LockInfo
Packages that use LockInfo
Package
Description
Provides the management interfaces for monitoring and management of the
Java virtual machine and other components in the Java runtime.
-
Uses of LockInfo in java.lang.management
Subclasses of LockInfo in java.lang.managementModifier and TypeClassDescriptionclass
This class represents information about objects locked via a synchronized method or block.Methods in java.lang.management that return LockInfoModifier and TypeMethodDescriptionstatic LockInfo
LockInfo.from
(CompositeData compositeData) Returns aLockInfo
object represented by the givenCompositeData
.LockInfo[]
ThreadInfo.getLockedSynchronizers()
Returns an array ofLockInfo
objects, each one containing information on an ownable synchronizer (a synchronizer that makes use of theAbstractOwnableSynchronizer
type and which is completely owned by a single thread) locked by theThread
corresponding to thisThreadInfo
when it was instantiated.ThreadInfo.getLockInfo()
If the thread corresponding to thisThreadInfo
is blocked then this method returns aLockInfo
object that contains details of the associated lock object.