Details
-
Improvement
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
5.1 EE SP3 (5.1.6), 5.2 EE SP1 (5.2.5)
-
Alll
Description
This improvement adds support for a SimpleTrigger in QuartzSchedulerEngine. SimpleTrigger is designed for repeated actions. Describing repeated actions with the current trigger, CronTrigger, can be difficult.
As part of this update, the following methods have been added:
SchedulerEngineUtil
public static void schedule(
String groupName, long interval, Date startDate, Date endDate, String description, String destinationName, String messageBody)
SchedulerRequest
public static SchedulerRequest createRegisterRequest(
String groupName, long interval, Date startDate, Date endDate, String description, String destination, String messageBody)
public static SchedulerRequest createRegisterRequest(
String groupName, String cronText, Date startDate, Date endDate, String description, String destination, String messageBody)
public static SchedulerRequest createRetrieveRequest(
String groupName)
public static SchedulerRequest createRetrieveResponseRequest(
String jobName, String groupName, long interval, Date startDate, Date endDate, String description, String messageBody)
public static SchedulerRequest createRetrieveResponseRequest(
String jobName, String groupName, String cronText, Date startDate, Date endDate, String description, String messageBody)
public static SchedulerRequest createShutdownRequest()
public static SchedulerRequest createStartupRequest()
public static SchedulerRequest createUnregisterRequest(
String groupName)
public long getInterval()
public TriggerType getTriggerType()
public void setInterval(
long interval)
public void setTriggerType(
TriggerType triggerType)
Note: This improvement was added because it is need to fix a memory leak with the the Quartz Scheduler
Attachments
Issue Links
- is related to
-
LPS-4689 Add SimpleTrigger support for QuartzSchedulerEngine
- Closed