Package io.hawt.jmx

Class QuartzFacade

    • Constructor Detail

      • QuartzFacade

        public QuartzFacade()
    • Method Detail

      • updateSimpleTrigger

        public void updateSimpleTrigger​(String schedulerObjectName,
                                        String triggerName,
                                        String groupName,
                                        int misfireInstruction,
                                        int repeatCount,
                                        long repeatInterval)
                                 throws Exception
        Description copied from interface: QuartzFacadeMBean
        Updates an existing simple trigger by changing the repeat counter and interval values.
        Specified by:
        updateSimpleTrigger in interface QuartzFacadeMBean
        misfireInstruction - the misfire instruction
        repeatCount - the repeat count (use 0 for forever)
        repeatInterval - the repeat interval in millis
        Throws:
        Exception
      • updateCronTrigger

        public void updateCronTrigger​(String schedulerObjectName,
                                      String triggerName,
                                      String groupName,
                                      int misfireInstruction,
                                      String cronExpression,
                                      String timeZone)
                               throws Exception
        Description copied from interface: QuartzFacadeMBean
        Updates an existing cron trigger by changing the cron expression
        Specified by:
        updateCronTrigger in interface QuartzFacadeMBean
        misfireInstruction - the misfire instruction
        cronExpression - the cron expressions
        timeZone - optional time zone
        Throws:
        Exception