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
Exception
public void updateSimpleTrigger(String schedulerObjectName, String triggerName, String groupName, int misfireInstruction, int repeatCount, long repeatInterval) throws Exception
QuartzFacadeMBean
updateSimpleTrigger
in interface QuartzFacadeMBean
misfireInstruction
- the misfire instructionrepeatCount
- the repeat count (use 0 for forever)repeatInterval
- the repeat interval in millisException
public void updateCronTrigger(String schedulerObjectName, String triggerName, String groupName, int misfireInstruction, String cronExpression, String timeZone) throws Exception
QuartzFacadeMBean
updateCronTrigger
in interface QuartzFacadeMBean
misfireInstruction
- the misfire instructioncronExpression
- the cron expressionstimeZone
- optional time zoneException
Copyright © 2021 JBoss by Red Hat. All rights reserved.