Event
, Locatable
, LocatableEvent
, Mirror
public interface MonitorWaitEvent extends LocatableEvent
EventQueue
,
MonitorWaitedEvent
Modifier and Type | Method | 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. Submit a bug or feature
Java is a trademark or registered trademark of Oracle and/or its affiliates in the US and other countries.
Copyright © 1999, 2017, Oracle and/or its affiliates. 500 Oracle Parkway
Redwood Shores, CA 94065 USA. All rights reserved.
DRAFT 9-Ubuntu+0-9b153-2