站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > NetBeans API Javadoc 5.5.0

JPDAThreadGroup (NetBeans Debugger JPDA API) - NetBeans API Javadoc 5.5.0

org.netbeans.api.debugger.jpda/2 2.4.22

org.netbeans.api.debugger.jpda
Interface JPDAThreadGroup


public interface JPDAThreadGroup

Represents one Java thread group in debugged process.

 Since JDI interfaces evolve from one version to another, it's strongly recommended
 not to implement this interface in client code. New methods can be added to
 this interface at any time to keep up with the JDI functionality.


Method Summary
 String getName()
          Getter for the name of thread group property.
 JPDAThreadGroup getParentThreadGroup()
          Returns parent thread group or null (for root thread group).
 JPDAThreadGroup[] getThreadGroups()
          Returns this thread group's thread groups.
 JPDAThread[] getThreads()
          Returns this thread group's threads.
 void resume()
          Unsuspends all threads and thread groups in this thread group.
 void suspend()
          Suspends all threads and thread groups in this thread group.
 

Method Detail

getName

String getName()
Getter for the name of thread group property.

Returns:
name of thread group

getParentThreadGroup

JPDAThreadGroup getParentThreadGroup()
Returns parent thread group or null (for root thread group).

Returns:
parent thread group or null (for root thread group)

getThreads

JPDAThread[] getThreads()
Returns this thread group's threads.

Returns:
threads from this thread group

getThreadGroups

JPDAThreadGroup[] getThreadGroups()
Returns this thread group's thread groups.

Returns:
thread groups s from this thread group

suspend

void suspend()
Suspends all threads and thread groups in this thread group.


resume

void resume()
Unsuspends all threads and thread groups in this thread group.


org.netbeans.api.debugger.jpda/2 2.4.22

Built on May 28 2007.  |  Portions Copyright 1997-2005 Sun Microsystems, Inc. All rights reserved.