Class ScheduledJobHistoryService

java.lang.Object
com.avoka.fc.core.service.BaseService
com.avoka.fc.core.service.ScheduledJobHistoryService

public class ScheduledJobHistoryService extends BaseService
Provides a Scheduled Job History logging service.
Since:
4.3.0
  • Constructor Details

    • ScheduledJobHistoryService

      public ScheduledJobHistoryService()
  • Method Details

    • logJobRun

      public void logJobRun(String scheduledJobName, Date startTime, com.jezhumble.javasysmon.CpuTimes startCpuTimes, Long startFreeMemory, ErrorLog errorLog)
      Log Scheduled Job History record using the specified parameters.
      Parameters:
      scheduledJobName - the name of the scheduled job
      startTime - the time the service was invoked (required)
      startCpuTimes - the start CPU times when the service was invoked (required)
      startFreeMemory - the free memory in bytes when the service was invoked (required)
      errorLog - the associated error log (optional)