public interface JavaMonitor
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.util.Iterator |
getEnterWaiters()
Get the set of threads waiting to enter the monitor
|
ImagePointer |
getID()
Get the identifier for this monitor
|
java.lang.String |
getName()
Note that the name of a JavaMonitor is not necessarily meaningful but is provided here as it is
usually present in the running VM.
|
java.util.Iterator |
getNotifyWaiters()
Get the set of threads waiting to be notified on the monitor (in the Object.wait method)
|
JavaObject |
getObject()
Get the object associated with this monitor.
|
JavaThread |
getOwner()
Get the thread which currently owns the monitor
|
int |
hashCode() |
JavaObject getObject()
java.lang.String getName() throws CorruptDataException
CorruptDataException
JavaThread getOwner() throws CorruptDataException
CorruptDataException
java.util.Iterator getEnterWaiters()
JavaThread
,
CorruptData
java.util.Iterator getNotifyWaiters()
JavaThread
,
CorruptData
ImagePointer getID()
boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
obj
- int hashCode()
hashCode
in class java.lang.Object
© Copyright 2005, 2012 IBM Corporation. All Rights Reserved.