Package io.hawt.jmx
Class QuartzFacade
- java.lang.Object
-
- io.hawt.jmx.QuartzFacade
-
- All Implemented Interfaces:
QuartzFacadeMBean
public class QuartzFacade extends java.lang.Object implements QuartzFacadeMBean
-
-
Constructor Summary
Constructors Constructor Description QuartzFacade()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddestroy()protected javax.management.ObjectNamegetObjectName()voidinit()voidupdateCronTrigger(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 expressionvoidupdateSimpleTrigger(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.
-
-
-
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.ExceptionDescription 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:
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.ExceptionDescription 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:
java.lang.Exception
-
-