public interface

ThreadDeathRequest

implements EventRequest
com.sun.jdi.request.ThreadDeathRequest

Class Overview

Request for notification when a thread terminates in the target VM. When an enabled ThreadDeathRequest is satisfied, an event set containing a ThreadDeathEvent will be placed on the EventQueue. The collection of existing ThreadDeathRequests is managed by the EventRequestManager

Summary

[Expand]
Inherited Constants
From interface com.sun.jdi.request.EventRequest
Public Methods
abstract void addThreadFilter(ThreadReference thread)
Restricts the events generated by this request to those in the given thread.
[Expand]
Inherited Methods
From interface com.sun.jdi.Mirror
From interface com.sun.jdi.request.EventRequest

Public Methods

public abstract void addThreadFilter (ThreadReference thread)

Restricts the events generated by this request to those in the given thread.

Parameters
thread the thread to filter on.
Throws
InvalidRequestStateException if this request is currently enabled or has been deleted. Filters may be added only to disabled requests.