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

public Interface MonitorContendedEnterEvent

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

Notification that a thread in the target VM is attempting to enter a monitor that is already acquired by another thread.
Author
Swamy Venkataramanappa
Since
1.6
See Also
EventQueue, MonitorContendedEnteredEvent

Method Summary

Modifier and TypeMethod and Description
public ObjectReference

Returns:

an ObjectReference for the monitor.
monitor
()

Returns the method 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 method 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.