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

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

 

org.netbeans.api.debugger.jpda
Interface JPDAThreadGroup


public interface JPDAThreadGroup

Represents one Java thread group in debugged process.


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

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

Returns:
name of thread group

getParentThreadGroup

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

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

getThreads

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

Returns:
threads from this thread group

getThreadGroups

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

Returns:
thread groups s from this thread group

suspend

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


resume

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


 

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