Package psiprobe.scheduler.triggers
Class DatasourceStatsTrigger
- java.lang.Object
-
- org.springframework.scheduling.quartz.CronTriggerFactoryBean
-
- psiprobe.scheduler.triggers.DatasourceStatsTrigger
-
- 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 DatasourceStatsTrigger extends org.springframework.scheduling.quartz.CronTriggerFactoryBean
The Class DatasourceStatsTrigger.
-
-
Constructor Summary
Constructors Constructor Description DatasourceStatsTrigger()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
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
-
-
-
-
Method Detail
-
setCronExpression
@Autowired public void setCronExpression(@Value("${psiprobe.beans.stats.collectors.datasource.period}") String periodExpression, @Value("${psiprobe.beans.stats.collectors.datasource.phase}") String phaseExpression)
Sets the cron expression.- Parameters:
periodExpression
- the period expressionphaseExpression
- the phase expression
-
-