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

    Constructors
    Constructor
    Description
     
  • Method Summary

    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

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 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 expression
      phaseExpression - the phase expression