org.apache.activemq.broker.jmx
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
JobSchedulerViewMBean
getAllJobs
in interface JobSchedulerViewMBean
java.lang.Exception
public javax.management.openmbean.TabularData getAllJobs(java.lang.String startTime, java.lang.String finishTime) throws java.lang.Exception
JobSchedulerViewMBean
getAllJobs
in interface JobSchedulerViewMBean
java.lang.Exception
public javax.management.openmbean.TabularData getNextScheduleJobs() throws java.lang.Exception
JobSchedulerViewMBean
getNextScheduleJobs
in interface JobSchedulerViewMBean
java.lang.Exception
public java.lang.String getNextScheduleTime() throws java.lang.Exception
JobSchedulerViewMBean
getNextScheduleTime
in interface JobSchedulerViewMBean
java.lang.Exception
public void removeAllJobs() throws java.lang.Exception
JobSchedulerViewMBean
removeAllJobs
in interface JobSchedulerViewMBean
java.lang.Exception
public void removeAllJobs(java.lang.String startTime, java.lang.String finishTime) throws java.lang.Exception
JobSchedulerViewMBean
removeAllJobs
in interface JobSchedulerViewMBean
startTime
- timefinishTime
- timejava.lang.Exception
public void removeJob(java.lang.String jobId) throws java.lang.Exception
JobSchedulerViewMBean
removeJob
in interface JobSchedulerViewMBean
java.lang.Exception
public void removeJobAtScheduledTime(java.lang.String time) throws java.io.IOException
JobSchedulerViewMBean
removeJobAtScheduledTime
in interface JobSchedulerViewMBean
java.io.IOException
Copyright © 2005-2014. All Rights Reserved.