Class WorkManager


  • public abstract class WorkManager
    extends java.lang.Object
    The work manager manages the system's concurrency.
    Author:
    hb
    • Constructor Detail

      • WorkManager

        public WorkManager()
    • Method Detail

      • createThreadPool

        public abstract IThreadPool createThreadPool​(java.lang.String id)
        provide a logical thread pool by id. Will throw an exception if a thread pool by the same id has been created previously but released.
        Parameters:
        id -
      • releaseThreadPool

        public abstract void releaseThreadPool​(java.lang.String id)
        releases a named threadpool. Will throw an exception if the named threadpool does not exist or is still busy