Package io.hawt.jmx

Class QuartzFacade

    • Constructor Summary

      Constructors 
      Constructor Description
      QuartzFacade()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void destroy()  
      protected javax.management.ObjectName getObjectName()  
      void init()  
      void updateCronTrigger​(java.lang.String schedulerObjectName, java.lang.String triggerName, java.lang.String groupName, int misfireInstruction, java.lang.String cronExpression, java.lang.String timeZone)
      Updates an existing cron trigger by changing the cron expression
      void updateSimpleTrigger​(java.lang.String schedulerObjectName, java.lang.String triggerName, java.lang.String groupName, int misfireInstruction, int repeatCount, long repeatInterval)
      Updates an existing simple trigger by changing the repeat counter and interval values.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • QuartzFacade

        public QuartzFacade()
    • Method Detail

      • init

        public void init()
                  throws java.lang.Exception
        Throws:
        java.lang.Exception
      • destroy

        public void destroy()
                     throws java.lang.Exception
        Throws:
        java.lang.Exception
      • getObjectName

        protected javax.management.ObjectName getObjectName()
                                                     throws java.lang.Exception
        Throws:
        java.lang.Exception
      • updateSimpleTrigger

        public void updateSimpleTrigger​(java.lang.String schedulerObjectName,
                                        java.lang.String triggerName,
                                        java.lang.String groupName,
                                        int misfireInstruction,
                                        int repeatCount,
                                        long repeatInterval)
                                 throws java.lang.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:
        java.lang.Exception
      • updateCronTrigger

        public void updateCronTrigger​(java.lang.String schedulerObjectName,
                                      java.lang.String triggerName,
                                      java.lang.String groupName,
                                      int misfireInstruction,
                                      java.lang.String cronExpression,
                                      java.lang.String timeZone)
                               throws java.lang.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:
        java.lang.Exception