KickJava   Java API By Example, From Geeks To Geeks.

Java > Java SE, EE, ME > java > lang > ThreadGroup

java.lang
Class ThreadGroup

java.lang.Object
  extended by java.lang.ThreadGroup
All Implemented Interfaces:
Thread.UncaughtExceptionHandler
See Also:
Top Examples, Source Code

public int activeCount()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public int activeGroupCount()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


@Deprecated
public boolean allowThreadSuspension(boolean b)
See Also:
suspend()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public final void checkAccess()
See Also:
SecurityManager.checkAccess(java.lang.ThreadGroup), SecurityException
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public final void destroy()
See Also:
checkAccess(), SecurityException, IllegalThreadStateException
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public int enumerate(ThreadGroup[] list)
See Also:
checkAccess(), activeGroupCount(), SecurityException
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public int enumerate(ThreadGroup[] list,
                     boolean recurse)
See Also:
checkAccess(), activeGroupCount(), SecurityException
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public int enumerate(Thread[] list)
See Also:
checkAccess(), activeCount(), SecurityException
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public int enumerate(Thread[] list,
                     boolean recurse)
See Also:
checkAccess(), activeCount(), SecurityException
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public final int getMaxPriority()
See Also:
setMaxPriority(int)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public final String getName()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public final ThreadGroup getParent()
See Also:
RuntimePermission, SecurityException, checkAccess()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public final void interrupt()
See Also:
checkAccess(), SecurityException
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public final boolean isDaemon()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public boolean isDestroyed()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public void list()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public final boolean parentOf(ThreadGroup g)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


@Deprecated
public final void resume()
See Also:
checkAccess(), SecurityException, Thread.suspend()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public final void setDaemon(boolean daemon)
See Also:
checkAccess(), SecurityException
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public final void setMaxPriority(int pri)
See Also:
checkAccess(), SecurityException, getMaxPriority(), Thread.MAX_PRIORITY, Thread.MIN_PRIORITY
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


@Deprecated
public final void stop()
See Also:
checkAccess(), SecurityException
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


@Deprecated
public final void suspend()
See Also:
checkAccess(), SecurityException
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public ThreadGroup(String name)
See Also:
checkAccess(), SecurityException
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public ThreadGroup(ThreadGroup parent,
                   String name)
See Also:
checkAccess(), SecurityException, NullPointerException
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public String toString()
See Also:
Object
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public void uncaughtException(Thread t,
                              Throwable e)
See Also:
Thread.UncaughtExceptionHandler, standard error stream, printStackTrace, getName, ThreadDeath, default uncaught exception handler
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  

Popular Tags