@Exported public interface MonitorWaitedEvent extends LocatableEvent
EventQueue,
MonitorWaitEvent| Modifier and Type | Method | Description |
|---|---|---|
ObjectReference |
monitor() |
Returns the monitor object this thread waited on.
|
ThreadReference |
thread() |
Returns the thread in which this event has occurred.
|
boolean |
timedout() |
Returns whether the wait has timed out or been interrupted.
|
toString, virtualMachineThreadReference thread()
thread in interface LocatableEventThreadReference which mirrors the event's thread in
the target VM.ObjectReference monitor()
ObjectReference for the monitor.boolean timedout()
true if the wait is timed out.
Copyright © 1999, 2025, Oracle and/or its affiliates. All rights reserved.