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

    Modifier and Type
    Class
    Description
    class 
    This class represents information about objects locked via a synchronized method or block.
    Methods in java.lang.management that return LockInfo
    Modifier and Type
    Method
    Description
    static LockInfo
    LockInfo.from(CompositeData compositeData)
    Returns a LockInfo object represented by the given CompositeData.
    Returns an array of LockInfo objects, each one containing information on an ownable synchronizer (a synchronizer that makes use of the AbstractOwnableSynchronizer type and which is completely owned by a single thread) locked by the Thread corresponding to this ThreadInfo when it was instantiated.
    ThreadInfo.getLockInfo()
    If the thread corresponding to this ThreadInfo is blocked then this method returns a LockInfo object that contains details of the associated lock object.