public static class ThreadControllerWrapper.ThreadController
extends java.lang.Object
| Constructor and Description |
|---|
ThreadControllerWrapper.ThreadController() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Thread |
run(java.lang.Runnable task,
int priority)
Will get a thread from the pool, execute the task
and return the thread to the pool.
|
void |
waitThread(java.lang.Thread worker,
java.lang.Runnable task)
Wait until the task is completed on the worker
thread.
|
public ThreadControllerWrapper.ThreadController()
public java.lang.Thread run(java.lang.Runnable task,
int priority)
priority - if >0 the task will run with the given priority
( doesn't seem to be used in xalan, since it's allways the default )public void waitThread(java.lang.Thread worker,
java.lang.Runnable task)
throws java.lang.InterruptedException
java.lang.InterruptedExceptionCopyright © 2014 Apache XML Project. All Rights Reserved.