org.netbeans.api.debugger.jpda/2 2.31.1

org.netbeans.api.debugger.jpda
Interface MonitorInfo


public interface MonitorInfo

Represents one owned monitor.

 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.

Since:
2.16

Method Summary
 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.
 

Method Detail

getMonitor

ObjectVariable getMonitor()
Returns the acquired monitor object

Returns:
monitor object

getFrame

CallStackFrame getFrame()
Returns the frame at which this monitor was acquired by the owning thread.

Returns:
The frame, or null when the implementation cannot determine the stack frame (e.g., for monitors acquired by JNI).

getThread

JPDAThread getThread()
Get the owning thread.

Returns:
the thread.

org.netbeans.api.debugger.jpda/2 2.31.1

Built on December 5 2011.  |  Portions Copyright 1997-2011 Sun Microsystems, Inc. All rights reserved.