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