Package com.avoka.fc.core.service
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 Summary
Constructors Constructor Description ScheduledJobHistoryService()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
logJobRun(String scheduledJobName, Date startTime, com.jezhumble.javasysmon.CpuTimes startCpuTimes, Long startFreeMemory, ErrorLog errorLog)
Log Scheduled Job History record using the specified parameters.-
Methods inherited from class com.avoka.fc.core.service.BaseService
getLogger
-
-
-
-
Method Detail
-
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)
-
-