|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
@Deprecated public interface ISubscriptionScheduler
Interface class between the subscription repository and the implementation of the scheduler.
| Method Summary | |
|---|---|
IScheduledJob |
deleteJob(String jobName)
Deprecated. Delete the job. |
IScheduledJob |
executeJob(String jobName)
Deprecated. Execute the job. |
String |
getCronSummary(String cron)
Deprecated. |
IScheduledJob |
getScheduledJob(String schedRef)
Deprecated. Returns the IScheduledJob for the passed in schedule reference from the scheduling system |
Map<String,IScheduledJob> |
getScheduledJobMap()
Deprecated. |
List |
getScheduledJobs()
Deprecated. Returns a List of all IScheduledJobs that are currently in the subscription scheduling system |
int |
getSchedulerState()
Deprecated. |
IScheduledJob |
pauseJob(String jobName)
Deprecated. Pause the job. |
void |
pauseScheduler()
Deprecated. |
IScheduledJob |
resumeJob(String jobName)
Deprecated. Resume the job. |
void |
resumeScheduler()
Deprecated. |
IScheduledJob |
scheduleJob(ISchedule schedule)
Deprecated. |
List |
syncSchedule(List newSchedules)
Deprecated. Synchronizes schedules between the subscription repos and the scheduling system |
IScheduledJob |
syncSchedule(String oldScheduleReference,
ISchedule newSchedule)
Deprecated. 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 | |||||||||