Interface BonitaExecutorService

All Known Implementing Classes:
DefaultBonitaExecutorService

public interface BonitaExecutorService
This is the interface we use to wrap the ThreadPool that execute works
Author:
Julien Reboul, Baptiste Mesta
  • Method Details

    • clearAllQueues

      void clearAllQueues()
      clear the queue of work
    • shutdownAndEmptyQueue

      void shutdownAndEmptyQueue()
      shutdown and handle the queue properly
    • submit

      Future<?> submit(WorkDescriptor work)
      Execute the work described by the work descriptor
      Parameters:
      work -
    • awaitTermination

      boolean awaitTermination(long workTerminationTimeout, TimeUnit seconds) throws InterruptedException
      Throws:
      InterruptedException
    • getExecutor

      ThreadPoolExecutor getExecutor()