-
- すべてのスーパー・インタフェース:
Event
,Locatable
,LocatableEvent
,Mirror
public interface MonitorWaitedEvent extends LocatableEvent
ターゲットVM内のスレッドがモニター・オブジェクト上での待機を終了する際の通知です。- 導入されたバージョン:
- 1.6
- 関連項目:
EventQueue
,MonitorWaitEvent
-
-
メソッドのサマリー
すべてのメソッド インスタンス・メソッド 抽象メソッド 修飾子と型 メソッド 説明 ObjectReference
monitor()
このスレッドが待機していたモニター・オブジェクトを返します。ThreadReference
thread()
このイベントが発生したスレッドを返します。boolean
timedout()
待機がタイム・アウトしたのか、または割り込まれたのかを返します。-
インタフェース com.sun.jdi.Mirrorで宣言されたメソッド
toString, virtualMachine
-
-
-
-
メソッドの詳細
-
thread
ThreadReference thread()
このイベントが発生したスレッドを返します。- 定義:
thread
、インタフェースLocatableEvent
- 戻り値:
- ターゲットVM内でイベントのスレッドをミラー化する
ThreadReference
。
-
monitor
ObjectReference monitor()
このスレッドが待機していたモニター・オブジェクトを返します。- 戻り値:
- このモニターの
ObjectReference
。
-
timedout
boolean timedout()
待機がタイム・アウトしたのか、または割り込まれたのかを返します。- 戻り値:
- 待機がタイム・アウトした場合は
true
。
-
-