Class JobSupervisor

    • Constructor Summary

      Constructors 
      Constructor Description
      JobSupervisor​(javax.inject.Provider<JobDAO> jobDaoProvider, java.lang.Long jobTimeoutTime)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void shutdown()
      The inverse of the start() method.
      void start()
      Starts the rescheduling of left over jobs (in a separate thread).
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • JobSupervisor

        public JobSupervisor​(javax.inject.Provider<JobDAO> jobDaoProvider,
                             java.lang.Long jobTimeoutTime)
        Parameters:
        jobDaoProvider - Used for accessing the jobdao.
        jobTimeoutTime - timeout in seconds.