Package io.hawt.jmx
Class QuartzFacade
java.lang.Object
io.hawt.jmx.QuartzFacade
- All Implemented Interfaces:
QuartzFacadeMBean
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddestroy()protected ObjectNamevoidinit()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.
-
Field Details
-
LOG
public static final org.slf4j.Logger LOG
-
-
Constructor Details
-
QuartzFacade
public QuartzFacade()
-
-
Method Details
-
init
- Throws:
Exception
-
destroy
- Throws:
Exception
-
getObjectName
- 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
-