APIdia Launch Partner
Top Description Methods
com.sun.jdi.event

public Interface MonitorContendedEnteredEvent

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

Notification that a thread in the target VM is entering a monitor after waiting for it to be released by another thread.
Author
Swamy Venkataramanappa
Since
1.6
See Also
EventQueue, MonitorContendedEnterEvent

Method Summary

Modifier and TypeMethod and Description
public ObjectReference

Returns:

an ObjectReference for the monitor.
monitor
()

Returns the monitor that was entered.

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.

Method Detail

monitorback to summary
public ObjectReference monitor()

Returns the monitor that was entered.

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.