public interface

MonitorWaitEvent

implements LocatableEvent
com.sun.jdi.event.MonitorWaitEvent

Class Overview

Notification that a thread in the target VM is about to wait on a monitor object.

Summary

Public Methods
abstract ObjectReference monitor()
Returns the monitor object that the thread about to wait.
abstract ThreadReference thread()
Returns the thread in which monitor wait event has occurred.
abstract long timeout()
Returns the number of millisecond the thread will wait.
[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 that the thread about to wait.

Returns

public abstract ThreadReference thread ()

Returns the thread in which monitor wait event has occurred.

Returns

public abstract long timeout ()

Returns the number of millisecond the thread will wait.

Returns
  • a jlong containing monitor wait time in milliseconds.