Top Description Methods
com.sun.jdi.event

public Interface MonitorWaitedEvent

extends LocatableEvent
Known Direct Implementers
com.sun.tools.jdi.EventSetImpl.MonitorWaitedEventImpl
Imports
com.sun.jdi.ObjectReference, .ThreadReference

Notification that a thread in the target VM has finished waiting on an monitor object.
Author
Swamy Venkataramanappa
Since
1.6
See Also
EventQueue, MonitorWaitEvent

Method Summary

Modifier and TypeMethod and Description
public ObjectReference

Returns:

an ObjectReference for the monitor.
monitor
()

Returns the monitor object this thread waited on.

public ThreadReference

Returns:

a ThreadReference which mirrors the event's thread in the target VM.
thread
()

Redeclares com.sun.jdi.event.LocatableEvent.thread.

Returns the thread in which this event has occurred.
public boolean

Returns:

true if the wait is timed out.
timedout
()

Returns whether the wait has timed out or been interrupted.

Method Detail

monitorback to summary
public ObjectReference monitor()

Returns the monitor object this thread waited on.

Returns:ObjectReference

an ObjectReference for the monitor.

threadback to summary
public ThreadReference thread()

Redeclares com.sun.jdi.event.LocatableEvent.thread.

Returns the thread in which this event has occurred.

Returns:ThreadReference

a ThreadReference which mirrors the event's thread in the target VM.

timedoutback to summary
public boolean timedout()

Returns whether the wait has timed out or been interrupted.

Returns:boolean

true if the wait is timed out.