Class JobPoller

    • Method Detail

      • getInstance

        public static JobPoller getInstance()
        Returns the JobPoller instance.
      • registerJobManager

        public static void registerJobManager​(JobManager jm)
        Register a JobManager with the job poller.
        jm - The JobManager to register.
        java.lang.IllegalArgumentException - if jm is null
      • getPoolState

        public java.util.Map<java.lang.String,​java.lang.Object> getPoolState()
        Returns a Map containing JobPoller statistics.
      • stop

        public void stop()
        Stops the JobPoller. This method is called when OFBiz shuts down. The JobPoller cannot be restarted.