@Exported public interface MonitorWaitedEvent extends LocatableEvent
EventQueue
,
MonitorWaitEvent
Modifier and Type | Method and 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, virtualMachine
ThreadReference thread()
thread
in interface LocatableEvent
ThreadReference
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, 2016, Oracle and/or its affiliates. All rights reserved.