Class DeadLockProofWorker


  • public final class DeadLockProofWorker
    extends java.lang.Object
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.lang.ThreadLocal<java.util.concurrent.Executor> PARENT
      An internal use only thread-local variable that tells the Executor that this worker acquired a worker thread from.
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      private DeadLockProofWorker()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static void start​(java.util.concurrent.Executor parent, java.lang.Runnable runnable)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • PARENT

        public static final java.lang.ThreadLocal<java.util.concurrent.Executor> PARENT
        An internal use only thread-local variable that tells the Executor that this worker acquired a worker thread from.
    • Constructor Detail

      • DeadLockProofWorker

        private DeadLockProofWorker()
    • Method Detail

      • start

        public static void start​(java.util.concurrent.Executor parent,
                                 java.lang.Runnable runnable)