org.apache.jetspeed.daemon.impl.util
Class ThreadGroupJoin

java.lang.Object
  extended byorg.apache.jetspeed.daemon.impl.util.ThreadGroupJoin

public class ThreadGroupJoin
extends java.lang.Object

Util class for joining a ThreadGroup and joining all of its Threads and waiting for completion.

Version:
$Id: ThreadGroupJoin.java,v 1.11 2004/07/15 02:14:30 jford Exp $
Author:
Kevin A. Burton

Constructor Summary
ThreadGroupJoin()
           
 
Method Summary
static void join(java.lang.ThreadGroup tg)
          Join a ThreadGroup and wait until it finishes
static void join(java.lang.ThreadGroup tg, java.lang.String source)
          Join a ThreadGroup bug specify a source and use a default interval.
static void join(java.lang.ThreadGroup tg, java.lang.String source, int interval)
          Join a ThreadGroup except also log when interval number of Threads have finished.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ThreadGroupJoin

public ThreadGroupJoin()
Method Detail

join

public static void join(java.lang.ThreadGroup tg)
Join a ThreadGroup and wait until it finishes


join

public static void join(java.lang.ThreadGroup tg,
                        java.lang.String source)
Join a ThreadGroup bug specify a source and use a default interval.


join

public static void join(java.lang.ThreadGroup tg,
                        java.lang.String source,
                        int interval)
Join a ThreadGroup except also log when interval number of Threads have finished.



Copyright © 2000-2005 Apache Software Foundation. All Rights Reserved.