|
||||||||||
| 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
CorruptDataExceptionjava.util.Iterator getEnterWaiters()
JavaThread,
CorruptDatajava.util.Iterator getNotifyWaiters()
JavaThread,
CorruptDataImagePointer getID()
boolean equals(java.lang.Object obj)
equals in class java.lang.Objectobj -
int hashCode()
hashCode in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||