org.ourgrid.test.threadServices
Class ExtendedThreadPoolServices

java.lang.Object
  extended by org.ourgrid.test.threadServices.ThreadPoolServices
      extended by org.ourgrid.test.threadServices.ExtendedThreadPoolServices

public class ExtendedThreadPoolServices
extends ThreadPoolServices

Extends the threadpool services to add the still idle functionality.

Author:
Flavio Vinicius Diniz de Figueiredo - flaviov@lsd.ufcg.edu.br

Field Summary
 
Fields inherited from class org.ourgrid.test.threadServices.ThreadPoolServices
runnablesAtThreadPool
 
Constructor Summary
ExtendedThreadPoolServices()
           
 
Method Summary
static void includePooledExecution(java.lang.Runnable run)
           
static boolean stillIdle()
          Verifies that no thread has started running since the last org.ourgrid.test.threadServices.ThreadServices#waitUntilWorkIsDone()
static void waitUntilWorkIsDone()
           
 
Methods inherited from class org.ourgrid.test.threadServices.ThreadPoolServices
includePooledExecution, isCompiledWithAspects, removePooledExecution
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExtendedThreadPoolServices

public ExtendedThreadPoolServices()
Method Detail

waitUntilWorkIsDone

public static void waitUntilWorkIsDone()
See Also:
ThreadPoolServices.waitUntilWorkIsDone()

includePooledExecution

public static void includePooledExecution(java.lang.Runnable run)
See Also:
ThreadPoolServices.includePooledExecution(Object)

stillIdle

public static boolean stillIdle()
Verifies that no thread has started running since the last org.ourgrid.test.threadServices.ThreadServices#waitUntilWorkIsDone()

Returns:
True if no thread was started running
See Also:
ThreadServices.waitUntilWorkIsDone()