public interface JobSchedulerViewMBean
Modifier and Type | Method and Description |
---|---|
TabularData |
getAllJobs()
Get all the outstanding Jobs that are scheduled in this scheduler store.
|
TabularData |
getAllJobs(String start,
String finish)
Get all outstanding jobs due to run between start and finish time range.
|
int |
getExecutionCount(String jobId)
Gets the number of times a scheduled Job has been executed.
|
TabularData |
getNextScheduleJobs()
Get all the jobs scheduled to run next.
|
String |
getNextScheduleTime()
Get the next time jobs will be fired from this scheduler store.
|
void |
removeAllJobs()
Remove all the Jobs from the scheduler,
|
void |
removeAllJobs(String start,
String finish)
Remove all the Jobs from the scheduler that are due between the start and finish times.
|
void |
removeAllJobsAtScheduledTime(String time)
Remove all jobs scheduled to run at this time.
|
void |
removeJob(String jobId)
Remove a job with the matching jobId.
|
void removeAllJobsAtScheduledTime(String time) throws Exception
time
- the string formated time that should be used to remove jobs.Exception
- if an error occurs while performing the remove.void removeJob(String jobId) throws Exception
jobId
- the Job Id to remove from the scheduler store.Exception
- if an error occurs while attempting to remove the Job.void removeAllJobs() throws Exception
Exception
- if an error occurs while purging the store.void removeAllJobs(String start, String finish) throws Exception
start
- the starting time to remove jobs from.finish
- the finish time for the remove operation.Exception
- if an error occurs while attempting to remove the jobs.String getNextScheduleTime() throws Exception
Exception
- if an error occurs while accessing the store.int getExecutionCount(String jobId) throws Exception
Exception
- if an error occurs while querying for the Job.TabularData getNextScheduleJobs() throws Exception
Exception
- if an error occurs while reading the scheduler store.TabularData getAllJobs() throws Exception
Exception
- if an error occurs while reading the store.TabularData getAllJobs(String start, String finish) throws Exception
start
- the starting time range to query the store for jobs.finish
- the ending time of this query for scheduled jobs.Exception
- if an error occurs while querying the scheduler store.Copyright © 2005–2017. All rights reserved.