Class CronTrigger

    • Constructor Detail

      • CronTrigger

        public CronTrigger()
    • Method Detail

      • getTriggerDefinition

        public io.siddhi.query.api.definition.TriggerDefinition getTriggerDefinition()
        Specified by:
        getTriggerDefinition in interface Trigger
      • start

        public void start()
        This will be called only once and this can be used to acquire required resources for the processing element. This will be called after initializing the system and before starting to process the events.
        Specified by:
        start in interface ExternalReferencedHolder
        Specified by:
        start in interface Trigger
      • stop

        public void stop()
        This will be called only once and this can be used to release the acquired resources for processing. This will be called before shutting down the system.
        Specified by:
        stop in interface ExternalReferencedHolder
        Specified by:
        stop in interface Trigger
      • execute

        public void execute​(org.quartz.JobExecutionContext jobExecutionContext)
                     throws org.quartz.JobExecutionException
        Specified by:
        execute in interface org.quartz.Job
        Throws:
        org.quartz.JobExecutionException
      • isStateful

        public boolean isStateful()
        Specified by:
        isStateful in interface Trigger