20 * 21 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 22 * or visit www.oracle.com if you need additional information or have any 23 * questions. 24 */ 25 26 package com.sun.jdi; 27 28 import java.util.List; 29 30 /** 31 * A thread group object from the target VM. 32 * A ThreadGroupReference is an {@link ObjectReference} with additional 33 * access to threadgroup-specific information from the target VM. 34 * 35 * @author Robert Field 36 * @author Gordon Hirsch 37 * @author James McIlree 38 * @since 1.3 39 */ 40 public interface ThreadGroupReference extends ObjectReference 41 { 42 /** 43 * Returns the name of this thread group. 44 * 45 * @return the string containing the thread group name. 46 */ 47 String name(); 48 49 /** 50 * Returns the parent of this thread group. 51 * 52 * @return a {@link ThreadGroupReference} mirroring the parent of this 53 * thread group in the target VM, or null if this is a top-level 54 * thread group. 55 */ 56 ThreadGroupReference parent(); 57 58 /** 59 * Suspends all threads in this thread group. Each thread 60 * in this group and in all of its subgroups will be 61 * suspended as described in {@link ThreadReference#suspend}. | 20 * 21 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 22 * or visit www.oracle.com if you need additional information or have any 23 * questions. 24 */ 25 26 package com.sun.jdi; 27 28 import java.util.List; 29 30 /** 31 * A thread group object from the target VM. 32 * A ThreadGroupReference is an {@link ObjectReference} with additional 33 * access to threadgroup-specific information from the target VM. 34 * 35 * @author Robert Field 36 * @author Gordon Hirsch 37 * @author James McIlree 38 * @since 1.3 39 */ 40 @jdk.Supported 41 public interface ThreadGroupReference extends ObjectReference { 42 43 /** 44 * Returns the name of this thread group. 45 * 46 * @return the string containing the thread group name. 47 */ 48 String name(); 49 50 /** 51 * Returns the parent of this thread group. 52 * 53 * @return a {@link ThreadGroupReference} mirroring the parent of this 54 * thread group in the target VM, or null if this is a top-level 55 * thread group. 56 */ 57 ThreadGroupReference parent(); 58 59 /** 60 * Suspends all threads in this thread group. Each thread 61 * in this group and in all of its subgroups will be 62 * suspended as described in {@link ThreadReference#suspend}. |