public interface MonitorInfo
Since JDI interfaces evolve from one version to another, it's strongly recommended not to implement this interface in client code. New methods can be added to this interface at any time to keep up with the JDI functionality.
Modifier and Type | Method and Description |
---|---|
CallStackFrame |
getFrame()
Returns the frame at which this monitor was acquired by the owning thread.
|
ObjectVariable |
getMonitor()
Returns the acquired monitor object
|
JPDAThread |
getThread()
Get the owning thread.
|
ObjectVariable getMonitor()
CallStackFrame getFrame()
null
when the implementation cannot
determine the stack frame (e.g., for monitors acquired by JNI).JPDAThread getThread()