Class CommonjDeamonWorkRunnableAdapter

  • All Implemented Interfaces:
    commonj.work.Work, java.lang.Runnable

    public class CommonjDeamonWorkRunnableAdapter
    extends java.lang.Object
    implements commonj.work.Work

    Long running Runnable adapter

    Author:
    Daniel Meyer
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected java.lang.Runnable runnable  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean isDaemon()  
      void release()  
      void run()  
      • Methods inherited from class java.lang.Object

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

      • runnable

        protected final java.lang.Runnable runnable
    • Constructor Detail

      • CommonjDeamonWorkRunnableAdapter

        public CommonjDeamonWorkRunnableAdapter​(java.lang.Runnable runnable)
    • Method Detail

      • run

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

        public boolean isDaemon()
        Specified by:
        isDaemon in interface commonj.work.Work
      • release

        public void release()
        Specified by:
        release in interface commonj.work.Work