org.apache.activemq.broker.jmx
Interface JobSchedulerViewMBean

All Known Implementing Classes:
JobSchedulerView

public interface JobSchedulerViewMBean


Method Summary
 javax.management.openmbean.TabularData getAllJobs()
          Get all the outstanding Jobs
 javax.management.openmbean.TabularData getAllJobs(java.lang.String start, java.lang.String finish)
          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 start, java.lang.String finish)
          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
 

Method Detail

removeJobAtScheduledTime

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

Parameters:
time -
Throws:
java.lang.Exception

removeJob

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

Parameters:
jobId -
Throws:
java.lang.Exception

removeAllJobs

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

Throws:
java.lang.Exception

removeAllJobs

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

Parameters:
start - time
finish - time
Throws:
java.lang.Exception

getNextScheduleTime

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

Returns:
the time in milliseconds
Throws:
java.lang.Exception

getNextScheduleJobs

javax.management.openmbean.TabularData getNextScheduleJobs()
                                                           throws java.lang.Exception
Get all the jobs scheduled to run next

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

getAllJobs

javax.management.openmbean.TabularData getAllJobs()
                                                  throws java.lang.Exception
Get all the outstanding Jobs

Returns:
a table of all jobs
Throws:
java.lang.Exception

getAllJobs

javax.management.openmbean.TabularData getAllJobs(java.lang.String start,
                                                  java.lang.String finish)
                                                  throws java.lang.Exception
Get all outstanding jobs due to run between start and finish

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


Copyright © 2005-2015. All Rights Reserved.