Package com.avoka.fc.core.job
Class SystemHealthJob
java.lang.Object
com.avoka.fc.core.job.AbstractJob
com.avoka.fc.core.job.BaseJob
com.avoka.fc.core.job.SystemHealthJob
- All Implemented Interfaces:
org.quartz.InterruptableJob
,org.quartz.Job
A job that creates system health entries and publishes them to Amazon Redshift.
- Since:
- 4.3.4
-
Field Summary
Fields inherited from class com.avoka.fc.core.job.AbstractJob
JOB_CONTEXT_PARAM, JOB_GROUP_BACKGROUND, JOB_GROUP_MEMORY, logExecution, MANAGER_LISTENERS, SERVLET_CONTEXT, SPRING_CONTEXT
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Subclasses should override this method to provide their functionality.Methods inherited from class com.avoka.fc.core.job.AbstractJob
createAndBindDataContext, execute, getContext, getContextParam, getDataContext, getErrorLogService, getLogger, getServletContext, interrupt, isInterrupted, logException
-
Field Details
-
JOB_NAME
The name of the job. Note: This must be the same as the name used in core-config.xml- See Also:
-
-
Constructor Details
-
SystemHealthJob
public SystemHealthJob()
-
-
Method Details
-
executeJob
public void executeJob()Description copied from class:AbstractJob
Subclasses should override this method to provide their functionality. A DataContext object will be bound to the thread executing this task. Any uncommitted changes to the DataContext will be automatically rolled back when this method completes.- Specified by:
executeJob
in classAbstractJob
- See Also:
-