org.apache.xml.utils
Class ThreadControllerWrapper
java.lang.Object
org.apache.xml.utils.ThreadControllerWrapper
public class ThreadControllerWrapper
- extends java.lang.Object
A utility class that wraps the ThreadController, which is used
by IncrementalSAXSource for the incremental building of DTM.
Method Summary |
static java.lang.Thread |
runThread(java.lang.Runnable runnable,
int priority)
|
static void |
waitThread(java.lang.Thread worker,
java.lang.Runnable task)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
m_tpool
private static ThreadControllerWrapper.ThreadController m_tpool
- The ThreadController pool
ThreadControllerWrapper
public ThreadControllerWrapper()
runThread
public static java.lang.Thread runThread(java.lang.Runnable runnable,
int priority)
waitThread
public static void waitThread(java.lang.Thread worker,
java.lang.Runnable task)
throws java.lang.InterruptedException
- Throws:
java.lang.InterruptedException