Package io.hawt.jmx

Class QuartzFacade

java.lang.Object
io.hawt.jmx.QuartzFacade
All Implemented Interfaces:
QuartzFacadeMBean

public class QuartzFacade extends Object implements QuartzFacadeMBean
  • Field Details

    • LOG

      public static final org.slf4j.Logger LOG
  • Constructor Details

    • QuartzFacade

      public QuartzFacade()
  • Method Details

    • init

      public void init() throws Exception
      Throws:
      Exception
    • destroy

      public void destroy() throws Exception
      Throws:
      Exception
    • getObjectName

      protected ObjectName getObjectName() throws Exception
      Throws:
      Exception
    • 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