Class ProcessManager

  • public class ProcessManager
    extends Object
    • Constructor Detail

      • ProcessManager

        public ProcessManager()
    • Method Detail

      • shutdown

        public void shutdown()
      • queueProcess

        public void queueProcess​(Process process)
      • hasPending

        public boolean hasPending()
        Is there any process in the queue (potentially running)?
      • onDoneProcess

        public void onDoneProcess​(Process p)
      • cancelAll

        public void cancelAll()
      • getProcess

        public Process getProcess​(int processId)
        Gets the process with the given process id.
        IllegalArgumentException - if the process cannot be found
      • getProcess

        public Process getProcess​(ChangeDataId changeDataId)
        Gets any process that is fetching the supplied change data.
        null if no such process can be found
      • update

        public void update()
      • getExecutorService

        protected getExecutorService()