Package psiprobe.scheduler.triggers
Class AppStatsTrigger
java.lang.Object
org.springframework.scheduling.quartz.CronTriggerFactoryBean
psiprobe.scheduler.triggers.AppStatsTrigger
- All Implemented Interfaces:
org.springframework.beans.factory.Aware
,org.springframework.beans.factory.BeanNameAware
,org.springframework.beans.factory.FactoryBean<org.quartz.CronTrigger>
,org.springframework.beans.factory.InitializingBean
public class AppStatsTrigger
extends org.springframework.scheduling.quartz.CronTriggerFactoryBean
The Class AppStatsTrigger.
-
Field Summary
Fields inherited from interface org.springframework.beans.factory.FactoryBean
OBJECT_TYPE_ATTRIBUTE
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
setCronExpression
(String periodExpression, String phaseExpression) Sets the cron expression.Methods inherited from class org.springframework.scheduling.quartz.CronTriggerFactoryBean
afterPropertiesSet, getJobDataMap, getObject, getObjectType, isSingleton, setBeanName, setCalendarName, setCronExpression, setDescription, setGroup, setJobDataAsMap, setJobDataMap, setJobDetail, setMisfireInstruction, setMisfireInstructionName, setName, setPriority, setStartDelay, setStartTime, setTimeZone
-
Constructor Details
-
AppStatsTrigger
public AppStatsTrigger()
-
-
Method Details
-
setCronExpression
@Autowired public void setCronExpression(@Value("${psiprobe.beans.stats.collectors.app.period}") String periodExpression, @Value("${psiprobe.beans.stats.collectors.app.phase}") String phaseExpression) Sets the cron expression.- Parameters:
periodExpression
- the period expressionphaseExpression
- the phase expression
-