Package com.avoka.fc.core.service
Class ScheduledJobHistoryService
java.lang.Object
com.avoka.fc.core.service.BaseService
com.avoka.fc.core.service.ScheduledJobHistoryService
Provides a Scheduled Job History logging service.
- Since:
- 4.3.0
-
Constructor Summary
-
Method Summary
Methods inherited from class com.avoka.fc.core.service.BaseService
getLogger
-
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 jobstartTime
- 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)
-