ThreadDeathRequest (Java SE 19 & JDK 19) (original) (raw)

All Superinterfaces:

[EventRequest](EventRequest.html "interface in com.sun.jdi.request"), [Mirror](../Mirror.html "interface in com.sun.jdi")


public interface ThreadDeathRequestextends EventRequest

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

Since:

1.3

See Also:

default void
Preview.
Restricts the events generated by this request to onlyplatform threads.
void
Restricts the events generated by this request to those in the given thread.