-
- All Superinterfaces:
-
Event,Locatable,LocatableEvent,Mirror
public interface MonitorWaitedEvent extends LocatableEvent
通知目标VM中的线程已经完成等待监视器对象。- 从以下版本开始:
- 1.6
- 另请参见:
-
EventQueue,MonitorWaitEvent
-
-
方法摘要
所有方法 接口方法 抽象方法 Modifier and Type 方法 描述 ObjectReferencemonitor()返回此线程等待的监视器对象。ThreadReferencethread()返回发生此事件的线程。booleantimedout()返回等待是否超时或中断。-
Methods inherited from interface com.sun.jdi.Mirror
toString, virtualMachine
-
-
-
-
方法详细信息
-
thread
ThreadReference thread()
返回发生此事件的线程。- Specified by:
-
thread在接口LocatableEvent - 结果
-
一个
ThreadReference镜像事件在目标VM中的线程。
-
monitor
ObjectReference monitor()
返回此线程等待的监视器对象。- 结果
-
一个
ObjectReference的显示器。
-
timedout
boolean timedout()
返回等待是否超时或中断。- 结果
-
true如果等待超时。
-
-