public interface

MonitorWaitedEvent

implements LocatableEvent
com.sun.jdi.event.MonitorWaitedEvent

Class Overview

Notification that a thread in the target VM has finished waiting on an monitor object.

Summary

Public Methods
abstract ObjectReference monitor()
Returns the monitor object this thread waited on.
abstract ThreadReference thread()
Returns the thread in which this event has occurred.
abstract boolean timedout()
Returns whether the wait has timed out or been interrupted.
[Expand]
Inherited Methods
From interface com.sun.jdi.Locatable
From interface com.sun.jdi.Mirror
From interface com.sun.jdi.event.Event
From interface com.sun.jdi.event.LocatableEvent

Public Methods

public abstract ObjectReference monitor ()

Returns the monitor object this thread waited on.

Returns

public abstract ThreadReference thread ()

Returns the thread in which this event has occurred.

Returns

public abstract boolean timedout ()

Returns whether the wait has timed out or been interrupted.

Returns
  • true if the wait is timed out.