Interface BonitaExecutorService

  • All Known Implementing Classes:
    BonitaThreadPoolExecutor

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

      • clearAllQueues

        void clearAllQueues()
        clear the queue of work
      • shutdownAndEmptyQueue

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

        void submit​(WorkDescriptor work)
        Execute the work described by the work descriptor
        Parameters:
        work -
      • awaitTermination

        boolean awaitTermination​(long workTerminationTimeout,
                                 java.util.concurrent.TimeUnit seconds)
                          throws java.lang.InterruptedException
        Throws:
        java.lang.InterruptedException