1 /* |
1 /* |
2 * Copyright (c) 1998, 2013, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 1998, 2017, Oracle and/or its affiliates. All rights reserved. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
4 * |
4 * |
5 * This code is free software; you can redistribute it and/or modify it |
5 * This code is free software; you can redistribute it and/or modify it |
6 * under the terms of the GNU General Public License version 2 only, as |
6 * under the terms of the GNU General Public License version 2 only, as |
7 * published by the Free Software Foundation. Oracle designates this |
7 * published by the Free Software Foundation. Oracle designates this |
23 * questions. |
23 * questions. |
24 */ |
24 */ |
25 |
25 |
26 package com.sun.jdi.request; |
26 package com.sun.jdi.request; |
27 |
27 |
28 import com.sun.jdi.*; |
28 import com.sun.jdi.ThreadReference; |
|
29 import com.sun.jdi.event.EventQueue; |
|
30 import com.sun.jdi.event.EventSet; |
|
31 import com.sun.jdi.event.ThreadDeathEvent; |
29 |
32 |
30 /** |
33 /** |
31 * Request for notification when a thread terminates in the target VM. |
34 * Request for notification when a thread terminates in the target VM. |
32 * When an enabled ThreadDeathRequest is satisfied, an |
35 * When an enabled ThreadDeathRequest is satisfied, an |
33 * {@link com.sun.jdi.event.EventSet event set} containing a |
36 * {@link EventSet event set} containing a |
34 * {@link com.sun.jdi.event.ThreadDeathEvent ThreadDeathEvent} |
37 * {@link ThreadDeathEvent ThreadDeathEvent} |
35 * will be placed on the |
38 * will be placed on the |
36 * {@link com.sun.jdi.event.EventQueue EventQueue}. |
39 * {@link EventQueue EventQueue}. |
37 * The collection of existing ThreadDeathRequests is |
40 * The collection of existing ThreadDeathRequests is |
38 * managed by the {@link EventRequestManager} |
41 * managed by the {@link EventRequestManager} |
39 * |
42 * |
40 * @see com.sun.jdi.event.ThreadDeathEvent |
43 * @see ThreadDeathEvent |
41 * @see com.sun.jdi.event.EventQueue |
44 * @see EventQueue |
42 * @see EventRequestManager |
45 * @see EventRequestManager |
43 * |
46 * |
44 * @author Robert Field |
47 * @author Robert Field |
45 * @since 1.3 |
48 * @since 1.3 |
46 */ |
49 */ |