Class CommonjDeamonWorkRunnableAdapter

java.lang.Object
org.camunda.bpm.container.impl.threading.ra.commonj.CommonjDeamonWorkRunnableAdapter
All Implemented Interfaces:
commonj.work.Work, Runnable

public class CommonjDeamonWorkRunnableAdapter extends Object implements commonj.work.Work

Long running Runnable adapter

Author:
Daniel Meyer
  • Field Details

    • runnable

      protected final Runnable runnable
  • Constructor Details

    • CommonjDeamonWorkRunnableAdapter

      public CommonjDeamonWorkRunnableAdapter(Runnable runnable)
  • Method Details

    • run

      public void run()
      Specified by:
      run in interface 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