org.xerial.util.thread
Class ThreadGroup<E extends Thread>
java.lang.Object
org.xerial.util.thread.ThreadGroup<E>
public class ThreadGroup<E extends Thread>
- extends Object
Groups multiple threads as a unit
- Author:
- leo
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ThreadGroup
public ThreadGroup()
addThread
public void addThread(E thread)
removeThread
public void removeThread(E thread)
size
public int size()
joinAll
public void joinAll()
throws InterruptedException
- Throws:
InterruptedException
interruptAll
public void interruptAll()

This work is licensed under a Creative Commons Attribution-ShareAlike 2.1 Japan License.