Package io.hawt.jmx
Class QuartzFacade
- java.lang.Object
-
- io.hawt.jmx.QuartzFacade
-
- All Implemented Interfaces:
QuartzFacadeMBean
public class QuartzFacade extends Object implements QuartzFacadeMBean
-
-
Constructor Summary
Constructors Constructor Description QuartzFacade()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddestroy()protected ObjectNamegetObjectName()voidinit()voidupdateCronTrigger(String schedulerObjectName, String triggerName, String groupName, int misfireInstruction, String cronExpression, String timeZone)Updates an existing cron trigger by changing the cron expressionvoidupdateSimpleTrigger(String schedulerObjectName, String triggerName, String groupName, int misfireInstruction, int repeatCount, long repeatInterval)Updates an existing simple trigger by changing the repeat counter and interval values.
-
-
-
Method Detail
-
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:QuartzFacadeMBeanUpdates an existing simple trigger by changing the repeat counter and interval values.- Specified by:
updateSimpleTriggerin interfaceQuartzFacadeMBeanmisfireInstruction- the misfire instructionrepeatCount- 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:QuartzFacadeMBeanUpdates an existing cron trigger by changing the cron expression- Specified by:
updateCronTriggerin interfaceQuartzFacadeMBeanmisfireInstruction- the misfire instructioncronExpression- the cron expressionstimeZone- optional time zone- Throws:
Exception
-
-