org.apache.activemq.broker.jmx
Interface JobSchedulerViewMBean

All Known Implementing Classes:
JobSchedulerView

public interface JobSchedulerViewMBean


Method Summary
 TabularData getAllJobs()
          Get all the outstanding Jobs
 TabularData getAllJobs(String start, String finish)
          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 start, String finish)
          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
 

Method Detail

removeJobAtScheduledTime

void removeJobAtScheduledTime(String time)
                              throws Exception
remove all jobs scheduled to run at this time

Parameters:
time -
Throws:
Exception

removeJob

void removeJob(String jobId)
               throws Exception
remove a job with the matching jobId

Parameters:
jobId -
Throws:
Exception

removeAllJobs

void removeAllJobs()
                   throws Exception
remove all the Jobs from the scheduler

Throws:
Exception

removeAllJobs

void removeAllJobs(String start,
                   String finish)
                   throws Exception
remove all the Jobs from the scheduler that are due between the start and finish times

Parameters:
start - time
finish - time
Throws:
Exception

getNextScheduleTime

String getNextScheduleTime()
                           throws Exception
Get the next time jobs will be fired

Returns:
the time in milliseconds
Throws:
Exception

getNextScheduleJobs

TabularData getNextScheduleJobs()
                                throws Exception
Get all the jobs scheduled to run next

Returns:
a list of jobs that will be scheduled next
Throws:
Exception

getAllJobs

TabularData getAllJobs()
                       throws Exception
Get all the outstanding Jobs

Returns:
a table of all jobs
Throws:
Exception

getAllJobs

TabularData getAllJobs(String start,
                       String finish)
                       throws Exception
Get all outstanding jobs due to run between start and finish

Parameters:
start -
finish -
Returns:
a table of jobs in the range
Throws:
Exception


Copyright © 2005–2013 The Apache Software Foundation. All rights reserved.