|
Java Debug Interface | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface MonitorInfo
Information about a monitor owned by a thread.
Method Summary | |
---|---|
ObjectReference |
monitor()
Returns the ObjectReference object for the monitor. |
int |
stackDepth()
Returns the stack depth at which this monitor was acquired by the owning thread. |
ThreadReference |
thread()
Returns a ThreadReference object for the thread that
owns the monitor. |
Methods inherited from interface com.sun.jdi.Mirror |
---|
toString, virtualMachine |
Method Detail |
---|
ObjectReference monitor()
ObjectReference
object for the monitor.
ObjectReference
object for the monitor.
InvalidStackFrameException
- if the associated stack
frame has become invalid. Once the frame's thread is resumed,
the stack frame is no longer valid.ThreadReference.ownedMonitorsAndFrames()
int stackDepth()
InvalidStackFrameException
- if the associated stack
frame has become invalid. Once the frame's thread is resumed,
the stack frame is no longer valid.ThreadReference.ownedMonitorsAndFrames()
ThreadReference thread()
ThreadReference
object for the thread that
owns the monitor.
ThreadReference
object for the thread that
owns the monitor.
InvalidStackFrameException
- if the associated stack
frame has become invalid. Once the frame's thread is resumed,
the stack frame is no longer valid.ThreadReference.frame(int)
|
Java Debug Interface | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |