public class QuartzFacade extends Object implements QuartzFacadeMBean
| Constructor and Description |
|---|
QuartzFacade() |
| Modifier and Type | Method and Description |
|---|---|
void |
destroy() |
protected ObjectName |
getObjectName() |
void |
init() |
void |
updateCronTrigger(String schedulerObjectName,
String triggerName,
String groupName,
int misfireInstruction,
String cronExpression,
String timeZone)
Updates an existing cron trigger by changing the cron expression
|
void |
updateSimpleTrigger(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.
|
protected ObjectName getObjectName() throws Exception
Exceptionpublic void updateSimpleTrigger(String schedulerObjectName, String triggerName, String groupName, int misfireInstruction, int repeatCount, long repeatInterval) throws Exception
QuartzFacadeMBeanupdateSimpleTrigger in interface QuartzFacadeMBeanmisfireInstruction - the misfire instructionrepeatCount - the repeat count (use 0 for forever)repeatInterval - the repeat interval in millisExceptionpublic void updateCronTrigger(String schedulerObjectName, String triggerName, String groupName, int misfireInstruction, String cronExpression, String timeZone) throws Exception
QuartzFacadeMBeanupdateCronTrigger in interface QuartzFacadeMBeanmisfireInstruction - the misfire instructioncronExpression - the cron expressionstimeZone - optional time zoneExceptionCopyright © 2022 JBoss by Red Hat. All rights reserved.