Class 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

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      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

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ThreadControllerWrapper

        public ThreadControllerWrapper()
    • Method Detail

      • 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