Interface IJobMaintenanceService

All Known Implementing Classes:
JobMaintenanceServiceImpl

public interface IJobMaintenanceService
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    enableMaintenancePass(boolean thetoEnable)
    This is only to be called in a testing environment to ensure state changes are controlled.
    void
    Forces a second maintenance run.
    void
     
    boolean
    Do not wait for the next scheduled time for maintenance.
  • Method Details

    • triggerMaintenancePass

      Do not wait for the next scheduled time for maintenance. Trigger it immediately.
      Returns:
      true if a request to run a maintenance pass was fired, false if there was already a trigger request in queue so we can just use that one
    • runMaintenancePass

    • forceMaintenancePass

      Forces a second maintenance run. Only to be used in tests to simulate a long running maintenance step
    • enableMaintenancePass

      void enableMaintenancePass(boolean thetoEnable)
      This is only to be called in a testing environment to ensure state changes are controlled.