|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.activemq.broker.jmx.JobSchedulerView
public class JobSchedulerView
Constructor Summary | |
---|---|
JobSchedulerView(JobScheduler jobScheduler)
|
Method Summary | |
---|---|
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 |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public JobSchedulerView(JobScheduler jobScheduler)
Method Detail |
---|
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
- time
java.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
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |