public interface MonitorWaitEvent extends LocatableEvent
EventQueue
,
MonitorWaitedEvent
Modifier and Type | Method and Description |
---|---|
ObjectReference |
monitor()
Returns the monitor object that the thread about to wait.
|
ThreadReference |
thread()
Returns the thread in which monitor wait event has occurred.
|
long |
timeout()
Returns the number of millisecond the thread will wait.
|
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.long timeout()
jlong
containing monitor wait time in milliseconds.
Copyright © 1999, 2020, Oracle and/or its affiliates. All rights reserved.