|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.quartzdesk.api.agent.scheduler.quartz.v2_1_x.QuartzSchedulerMBeanImplExtensions
public class QuartzSchedulerMBeanImplExtensions
Class encapsulating the extended functionality added by the QuartzDesk JVM Agent to the instrumented QuartzSchedulerMBeanImpl class.
| Constructor Summary | |
|---|---|
QuartzSchedulerMBeanImplExtensions(QuartzScheduler scheduler)
Creates a new instance wrapping the specified Quartz scheduler instance. |
|
| Method Summary | |
|---|---|
void |
addTrigger(CompositeData compositeTrigger)
Adds the specified trigger to the scheduler. |
CompositeData[] |
getAllTriggers(String filterQuery,
Locale locale)
Returns the list of all triggers. |
CompositeData[] |
getAvailableJobClasses()
Returns the list of all available classes that implement the Quartz Job interface. |
String |
getClassLoaderInfo()
Returns the date time when the Quartz scheduler was initialized. |
CompositeData |
getInitializedAt()
Returns the date time when the Quartz scheduler was initialized. |
Integer |
getJobCount()
Returns the number of job registered in the scheduler. |
CompositeData |
getJobDetail(String jobName,
String jobGroupName)
Returns the job detail with the specified name and group. |
CompositeData[] |
getJobDetails(String filterJobGroupName,
String filterQuery)
Returns the list of all job details in the specified job group (optional) matching the specified filter query (optional). |
CompositeData[] |
getJobListeners()
Returns the list of Quartz JobListeners registered in the scheduler. |
CompositeData[] |
getJobNextFireTimes(String jobName,
String jobGroupName,
Integer maxFetchSize)
Returns the list of the maximum of the maxFetchSize next fire times the specified job will be fired
at. |
CompositeData |
getPausedAt()
Returns the date time when the Quartz scheduler was paused if it is currently paused, null otherwise. |
CompositeData |
getPlannedJobExecutions(Date startTime,
Date endTime,
String jobGroupName,
String filterQuery,
Integer maxFetchSize,
Locale locale)
Returns the maximum of maxFetchSize planned job executions between the specified start and end date time. |
CompositeData[] |
getSchedulerListeners()
Returns the list of Quartz SchedulerListeners registered in the scheduler. |
CompositeData |
getStartedAt()
Returns the date time when the Quartz scheduler was started if it is currently started, null otherwise. |
CompositeData |
getStoppedAt()
Returns the date time when the Quartz scheduler was stopped if it is currently stopped, null otherwise. |
CompositeData |
getTrigger(String triggerName,
String triggerGroupName,
Locale locale)
Returns the trigger with the specified name and group. |
Integer |
getTriggerCount()
Returns the number of trigger registered in the scheduler. |
CompositeData[] |
getTriggerFireTimes(String triggerName,
String triggerGroupName,
Date startTime,
Date endTime,
Integer maxFetchSize)
Returns the list containing the maximum of the maxFetchSize fire times of the specified trigger
between the specified start and end date time. |
CompositeData[] |
getTriggerListeners()
Returns the list of Quartz TriggerListeners registered in the scheduler. |
CompositeData[] |
getTriggerNextFireTimes(CompositeData compositeTrigger,
Integer maxFetchSize)
Returns the list of the maximum of the maxFetchSize next fire times the specified trigger will be fired
at. |
CompositeData[] |
getTriggerNextFireTimes(String triggerName,
String triggerGroupName,
Integer maxFetchSize)
Returns the list of the maximum of the maxFetchSize next fire times the specified trigger will be fired
at. |
CompositeData[] |
getTriggersOfJob(String jobName,
String jobGroupName,
String filterQuery,
Locale locale)
Returns the list of Quartz triggers for the specified job. |
boolean |
updateTrigger(CompositeData compositeTrigger)
Updates the specified trigger in the scheduler. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public QuartzSchedulerMBeanImplExtensions(QuartzScheduler scheduler)
scheduler - a Quartz scheduler instance.| Method Detail |
|---|
public CompositeData getJobDetail(String jobName,
String jobGroupName)
throws Exception
jobName - a job name.jobGroupName - a job group name.
Exception
public CompositeData[] getJobDetails(String filterJobGroupName,
String filterQuery)
throws Exception
filterJobGroupName - an optional job group name.filterQuery - an optional filter query.
Exception
public CompositeData[] getJobNextFireTimes(String jobName,
String jobGroupName,
Integer maxFetchSize)
throws Exception
maxFetchSize next fire times the specified job will be fired
at.
jobName - a job name.jobGroupName - a job group name.maxFetchSize - the maximum number of next fire times to return.
Exception
public CompositeData getPlannedJobExecutions(Date startTime,
Date endTime,
String jobGroupName,
String filterQuery,
Integer maxFetchSize,
Locale locale)
throws Exception
maxFetchSize planned job executions between the specified start and end date time.
startTime - a start date time.endTime - an end date time.jobGroupName - an optional job group name.filterQuery - an optional filter query.maxFetchSize - the maximum number of executions to return.locale - a locale.
Exception
public void addTrigger(CompositeData compositeTrigger)
throws Exception
compositeTrigger - the domain trigger composite data.
Exception
public boolean updateTrigger(CompositeData compositeTrigger)
throws Exception
compositeTrigger - the domain trigger composite data.
Exception
public CompositeData[] getAllTriggers(String filterQuery,
Locale locale)
throws Exception
filterQuery - an optional filter query.locale - the locale used to format localizable data. If null, then the platform default locale is used.
Exception
public CompositeData getTrigger(String triggerName,
String triggerGroupName,
Locale locale)
throws Exception
triggerName - a trigger name.triggerGroupName - a trigger group name.locale - the locale used to format localizable data. If null, then the platform default locale is
used.
Exception
public CompositeData[] getTriggersOfJob(String jobName,
String jobGroupName,
String filterQuery,
Locale locale)
throws Exception
jobName - a job name.jobGroupName - a job group name.filterQuery - an optional filter query.locale - the locale used to format localizable data. If null, then the platform default locale is used.
Exception
public CompositeData[] getTriggerNextFireTimes(String triggerName,
String triggerGroupName,
Integer maxFetchSize)
throws Exception
maxFetchSize next fire times the specified trigger will be fired
at.
triggerName - a trigger name.triggerGroupName - a trigger group name.maxFetchSize - the maximum number of next fire times to return.
Exception
public CompositeData[] getTriggerNextFireTimes(CompositeData compositeTrigger,
Integer maxFetchSize)
throws Exception
maxFetchSize next fire times the specified trigger will be fired
at.
compositeTrigger - the domain trigger composite data.maxFetchSize - the maximum number of next fire times to return.
Exception
public CompositeData[] getTriggerFireTimes(String triggerName,
String triggerGroupName,
Date startTime,
Date endTime,
Integer maxFetchSize)
throws Exception
maxFetchSize fire times of the specified trigger
between the specified start and end date time.
triggerName - a trigger name.triggerGroupName - a trigger group name.startTime - a start date time.endTime - an end date time.maxFetchSize - the maximum number of next fire times to return.
Exception
public Integer getJobCount()
throws Exception
Exception
public Integer getTriggerCount()
throws Exception
Exception
public CompositeData[] getJobListeners()
throws Exception
JobListeners registered in the scheduler.
JobListeners registered in the scheduler.
Exception
public CompositeData[] getTriggerListeners()
throws Exception
TriggerListeners registered in the scheduler.
TriggerListeners registered in the scheduler.
Exception
public CompositeData[] getSchedulerListeners()
throws Exception
SchedulerListeners registered in the scheduler.
SchedulerListeners registered in the scheduler.
Exception
public String getClassLoaderInfo()
throws Exception
Exception
public CompositeData[] getAvailableJobClasses()
throws Exception
Job interface.
Exception
public CompositeData getInitializedAt()
throws Exception
Exception
public CompositeData getStartedAt()
throws Exception
Exception
public CompositeData getPausedAt()
throws Exception
Exception
public CompositeData getStoppedAt()
throws Exception
Exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||