| |
|
| java.lang.Object java.lang.management.LockInfo
All known Subclasses: java.lang.management.MonitorInfo,
LockInfo | public LockInfo(String className, int identityHashCode)(Code) | | Constructs a LockInfo object.
Parameters: className - the fully qualified name of the class of the lock object. Parameters: identityHashCode - the System.identityHashCode identity hash code of the lock object. |
LockInfo | LockInfo(Object lock)(Code) | | package-private constructors
|
getClassName | public String getClassName()(Code) | | Returns the fully qualified name of the class of the lock object.
the fully qualified name of the class of the lock object. |
getIdentityHashCode | public int getIdentityHashCode()(Code) | | Returns the identity hash code of the lock object
returned from the
System.identityHashCode method.
the identity hash code of the lock object. |
toString | public String toString()(Code) | | Returns a string representation of a lock. The returned
string representation consists of the name of the class of the
lock object, the at-sign character `@', and the unsigned
hexadecimal representation of the identity hash code
of the object. This method returns a string equals to the value of:
lock.getClass().getName() + '@' + Integer.toHexString(System.identityHashCode(lock))
where lock is the lock object.
the string representation of a lock. |
|
|
|