|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface JavaMonitor
Represents a monitor, either an object monitor or a raw monitor.
Method Summary | |
---|---|
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()
|
Method Detail |
---|
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
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |