Class HawaiiAsyncRunnable

java.lang.Object
org.hawaiiframework.async.HawaiiAsyncRunnable
All Implemented Interfaces:
Runnable
Direct Known Subclasses:
AbortableTaskRunnable, TimeoutGuardTask

public abstract class HawaiiAsyncRunnable extends Object implements Runnable
This class will handle all administrative calls which need to be done for every call.
  • Field Details

  • Constructor Details

    • HawaiiAsyncRunnable

      protected HawaiiAsyncRunnable(SharedTaskContext sharedTaskContext)
      Constructor.
      Parameters:
      sharedTaskContext - the context for the api call thread
  • Method Details

    • run

      public void run()
      Specified by:
      run in interface Runnable
    • doRun

      protected abstract void doRun()
      This method is executed by Runnable run. Run executes all administrative calls. Code specified in this method will be executed in between those calls.