public class JobSchedulerView extends Object implements JobSchedulerViewMBean
| Constructor and Description |
|---|
JobSchedulerView(JobScheduler jobScheduler) |
| Modifier and Type | Method and Description |
|---|---|
TabularData |
getAllJobs()
Get all the outstanding Jobs
|
TabularData |
getAllJobs(String startTime,
String finishTime)
Get all outstanding jobs due to run between start and finish
|
TabularData |
getNextScheduleJobs()
Get all the jobs scheduled to run next
|
String |
getNextScheduleTime()
Get the next time jobs will be fired
|
void |
removeAllJobs()
remove all the Jobs from the scheduler
|
void |
removeAllJobs(String startTime,
String finishTime)
remove all the Jobs from the scheduler that are due between the start and finish times
|
void |
removeJob(String jobId)
remove a job with the matching jobId
|
void |
removeJobAtScheduledTime(String time)
remove all jobs scheduled to run at this time
|
public JobSchedulerView(JobScheduler jobScheduler)
public TabularData getAllJobs() throws Exception
JobSchedulerViewMBeangetAllJobs in interface JobSchedulerViewMBeanExceptionpublic TabularData getAllJobs(String startTime, String finishTime) throws Exception
JobSchedulerViewMBeangetAllJobs in interface JobSchedulerViewMBeanExceptionpublic TabularData getNextScheduleJobs() throws Exception
JobSchedulerViewMBeangetNextScheduleJobs in interface JobSchedulerViewMBeanExceptionpublic String getNextScheduleTime() throws Exception
JobSchedulerViewMBeangetNextScheduleTime in interface JobSchedulerViewMBeanExceptionpublic void removeAllJobs()
throws Exception
JobSchedulerViewMBeanremoveAllJobs in interface JobSchedulerViewMBeanExceptionpublic void removeAllJobs(String startTime, String finishTime) throws Exception
JobSchedulerViewMBeanremoveAllJobs in interface JobSchedulerViewMBeanstartTime - timefinishTime - timeExceptionpublic void removeJob(String jobId) throws Exception
JobSchedulerViewMBeanremoveJob in interface JobSchedulerViewMBeanExceptionpublic void removeJobAtScheduledTime(String time) throws IOException
JobSchedulerViewMBeanremoveJobAtScheduledTime in interface JobSchedulerViewMBeanIOExceptionCopyright © 2005-2014 The Apache Software Foundation. All Rights Reserved.