Class CompletionSignalingRunnable

  • All Implemented Interfaces:
    java.lang.Runnable

    public class CompletionSignalingRunnable
    extends java.lang.Object
    implements java.lang.Runnable
    Author:
    Daniel Meyer
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected java.lang.Runnable delegate  
      protected java.util.concurrent.CountDownLatch latch  
    • Constructor Summary

      Constructors 
      Constructor Description
      CompletionSignalingRunnable​(java.lang.Runnable delegate, java.util.concurrent.CountDownLatch latch)  
    • Field Detail

      • delegate

        protected java.lang.Runnable delegate
      • latch

        protected java.util.concurrent.CountDownLatch latch
    • Constructor Detail

      • CompletionSignalingRunnable

        public CompletionSignalingRunnable​(java.lang.Runnable delegate,
                                           java.util.concurrent.CountDownLatch latch)
    • Method Detail

      • run

        public void run()
        Specified by:
        run in interface java.lang.Runnable