|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ISubscriptionScheduler
Interface class between the subscription repository and the implementation of the scheduler.
| Method Summary | |
|---|---|
IScheduledJob |
deleteJob(String jobName)
Delete the job. |
IScheduledJob |
executeJob(String jobName)
Execute the job. |
String |
getCronSummary(String cron)
|
IScheduledJob |
getScheduledJob(String schedRef)
Returns the IScheduledJob for the passed in schedule reference from the scheduling system |
Map<String,IScheduledJob> |
getScheduledJobMap()
|
List |
getScheduledJobs()
Returns a List of all IScheduledJobs that are currently in the subscription scheduling system |
int |
getSchedulerState()
|
IScheduledJob |
pauseJob(String jobName)
Pause the job. |
void |
pauseScheduler()
|
IScheduledJob |
resumeJob(String jobName)
Resume the job. |
void |
resumeScheduler()
|
IScheduledJob |
scheduleJob(ISchedule schedule)
|
List |
syncSchedule(List newSchedules)
Synchronizes schedules between the subscription repos and the scheduling system |
IScheduledJob |
syncSchedule(String oldScheduleReference,
ISchedule newSchedule)
Synchronizes schedules between the subscription repos and the scheduling system |
| Method Detail |
|---|
IScheduledJob syncSchedule(String oldScheduleReference,
ISchedule newSchedule)
throws SubscriptionSchedulerException
oldSchedule - The name of the schedule to modify or delete. If null, then the
operation is treated as an add.newSchedule - The schedule to modify or add. If null, then the operation is
treated as an delete.
SubscriptionSchedulerException
List syncSchedule(List newSchedules)
throws Exception
newSchedules - The list of schedules that should exist. Any schedules not in the
list should be deleted
ExceptionList getScheduledJobs()
IScheduledJob getScheduledJob(String schedRef)
throws SubscriptionSchedulerException
Exception
SubscriptionSchedulerException
Map<String,IScheduledJob> getScheduledJobMap()
throws Exception
Exception
IScheduledJob pauseJob(String jobName)
throws Exception
jobName -
Exception
IScheduledJob resumeJob(String jobName)
throws Exception
jobName -
Exception
IScheduledJob executeJob(String jobName)
throws Exception
jobName -
Exception
IScheduledJob deleteJob(String jobName)
throws Exception
jobName -
Exception
IScheduledJob scheduleJob(ISchedule schedule)
throws Exception
Exception
int getSchedulerState()
throws Exception
Exception
void pauseScheduler()
throws Exception
Exception
void resumeScheduler()
throws Exception
Exception
String getCronSummary(String cron)
throws Exception
Exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||