|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.ourgrid.test.threadServices.ThreadPoolServices
public class ThreadPoolServices
This class will control runnables executions at OurGrid. It will receive and control all pooled executions call and will wait until all runnables are finished.
Field Summary | |
---|---|
static java.util.Set<java.lang.Object> |
runnablesAtThreadPool
Set that controls the runnables that are at a thread pool. |
Constructor Summary | |
---|---|
ThreadPoolServices()
|
Method Summary | |
---|---|
static void |
includePooledExecution(java.lang.Object run)
Method to add a runnable at the control set. |
static void |
isCompiledWithAspects()
Throws a RuntimeException indicating that the classes that use this package should be compiled using AspectJ compiler. |
static void |
removePooledExecution(java.lang.Object run)
Method to remove a runnable at the control set. |
static void |
waitUntilWorkIsDone()
This method simply waits the current runnables finish their jobs. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static java.util.Set<java.lang.Object> runnablesAtThreadPool
Constructor Detail |
---|
public ThreadPoolServices()
Method Detail |
---|
public static void includePooledExecution(java.lang.Object run)
public static void removePooledExecution(java.lang.Object run)
public static void waitUntilWorkIsDone()
public static void isCompiledWithAspects()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |