Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Programming
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Databases
Mail Systems
openSolaris
Eclipse Documentation
Techotopia.com
Virtuatopia.com

How To Guides
Virtualization
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Windows
Problem Solutions
Privacy Policy

  




 

 


Eclipse JDT
Release 3.5

org.eclipse.jdt.debug.core
Interface IJavaThreadGroup

All Superinterfaces:
IAdaptable, IDebugElement

public interface IJavaThreadGroup
extends IDebugElement

Represents a thread group in the target VM.

Since:
3.2
Restriction:
This interface is not intended to be implemented by clients.
Restriction:
This interface is not intended to be extended by clients.

Method Summary
  String getName ()
          Returns the name of this thread group.
  IJavaThreadGroup getThreadGroup ()
          Returns the thread group this thread group is contained in or null if none.
  IJavaThreadGroup[] getThreadGroups ()
          Returns immediate thread groups contained in this thread.
  IJavaThread[] getThreads ()
          Returns the threads in this thread group.
 boolean hasThreadGroups ()
          Returns whether this thread group contains subgroups.
 boolean hasThreads ()
          Returns whether this group contains any threads.
 
Methods inherited from interface org.eclipse.debug.core.model. IDebugElement
getDebugTarget, getLaunch, getModelIdentifier
 
Methods inherited from interface org.eclipse.core.runtime. IAdaptable
getAdapter
 

Method Detail

getThreads

IJavaThread[] getThreads()
                         throws 
DebugException
Returns the threads in this thread group. Does not include threads in subgroups.

Returns:
threads in this group
Throws:
DebugException

hasThreads

boolean hasThreads()
                   throws 
DebugException
Returns whether this group contains any threads.

Returns:
whether this group contains any threads
Throws:
DebugException

getThreadGroup

IJavaThreadGroup getThreadGroup()
                                throws 
DebugException
Returns the thread group this thread group is contained in or null if none.

Returns:
parent thread group or null
Throws:
DebugException

hasThreadGroups

boolean hasThreadGroups()
                        throws 
DebugException
Returns whether this thread group contains subgroups.

Returns:
whether this thread group contains subgroups
Throws:
DebugException

getThreadGroups

IJavaThreadGroup[] getThreadGroups()
                                   throws 
DebugException
Returns immediate thread groups contained in this thread. Does not include subgroups of immediate groups.

Returns:
thread groups contained in this group
Throws:
DebugException

getName

String getName()
               throws 
DebugException
Returns the name of this thread group.

Returns:
thread group name
Throws:
DebugException

Eclipse JDT
Release 3.5

Copyright (c) IBM Corp. and others 2000, 2008. All Rights Reserved.

 
 
  Published under the terms of the Eclipse Public License Version 1.0 ("EPL") Design by Interspire