|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.quartzdesk.api.agent.scheduler.quartz.v1_8_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(String instanceId,
CompositeData compositeTrigger)
Adds the specified trigger to the scheduler. |
CompositeData[] |
getAllTriggers(String instanceId,
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(String instanceId)
Returns the number of job registered in the scheduler. |
CompositeData |
getJobDetail(String instanceId,
String jobName,
String jobGroupName)
Returns the job detail with the specified name and group. |
CompositeData[] |
getJobDetails(String instanceId,
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(String instanceId)
Returns the list of Quartz JobListeners registered in the scheduler. |
CompositeData[] |
getJobNextFireTimes(String instanceId,
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(String instanceId,
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(String instanceId)
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 instanceId,
String triggerName,
String triggerGroupName,
Locale locale)
Returns the trigger with the specified name and group. |
Integer |
getTriggerCount(String instanceId)
Returns the number of trigger registered in the scheduler. |
CompositeData[] |
getTriggerFireTimes(String instanceId,
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 datetime. |
CompositeData[] |
getTriggerListeners(String instanceId)
Returns the list of Quartz TriggerListeners registered in the scheduler. |
CompositeData[] |
getTriggerNextFireTimes(String instanceId,
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 instanceId,
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 instanceId,
String jobName,
String jobGroupName,
String filterQuery,
Locale locale)
Returns the list of Quartz triggers for the specified job. |
boolean |
updateTrigger(String instanceId,
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 instanceId,
String jobName,
String jobGroupName)
throws Exception
instanceId - an instance ID (unused by Quartz).jobName - a job name.jobGroupName - a job group name.
Exception
public CompositeData[] getJobDetails(String instanceId,
String filterJobGroupName,
String filterQuery)
throws Exception
instanceId - an instance ID (unused by Quartz).filterJobGroupName - an optional job group name.filterQuery - an optional filter query.
Exception
public CompositeData[] getJobNextFireTimes(String instanceId,
String jobName,
String jobGroupName,
Integer maxFetchSize)
throws Exception
maxFetchSize next fire times the specified job will be fired
at.
instanceId - an instance ID (unused by Quartz).jobName - a job name.jobGroupName - a job group name.maxFetchSize - the maximum number of next fire times to return.
Exception
public CompositeData getPlannedJobExecutions(String instanceId,
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.
instanceId - an instance ID (unused by Quartz).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(String instanceId,
CompositeData compositeTrigger)
throws Exception
instanceId - an instance ID (unused by Quartz).compositeTrigger - the domain trigger composite data.
Exception
public boolean updateTrigger(String instanceId,
CompositeData compositeTrigger)
throws Exception
instanceId - an instance ID (unused by Quartz).compositeTrigger - the domain trigger composite data.
Exception
public CompositeData[] getAllTriggers(String instanceId,
String filterQuery,
Locale locale)
throws Exception
instanceId - an instance ID (unused by Quartz).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 instanceId,
String triggerName,
String triggerGroupName,
Locale locale)
throws Exception
instanceId - an instance ID (unused by Quartz).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 instanceId,
String jobName,
String jobGroupName,
String filterQuery,
Locale locale)
throws Exception
instanceId - an instance ID (unused by Quartz).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 instanceId,
String triggerName,
String triggerGroupName,
Integer maxFetchSize)
throws Exception
maxFetchSize next fire times the specified trigger will be fired
at.
instanceId - an instance ID (unused by Quartz).triggerName - a trigger name.triggerGroupName - a trigger group name.maxFetchSize - the maximum number of next fire times to return.
Exception
public CompositeData[] getTriggerNextFireTimes(String instanceId,
CompositeData compositeTrigger,
Integer maxFetchSize)
throws Exception
maxFetchSize next fire times the specified trigger will be fired
at.
instanceId - an instance ID (unused by Quartz).compositeTrigger - the domain trigger composite data.maxFetchSize - the maximum number of next fire times to return.
Exception
public CompositeData[] getTriggerFireTimes(String instanceId,
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 datetime.
instanceId - an instance ID (unused by Quartz).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(String instanceId)
throws Exception
instanceId - an instance ID (unused by Quartz).
Exception
public Integer getTriggerCount(String instanceId)
throws Exception
instanceId - an instance ID (unused by Quartz).
Exception
public CompositeData[] getJobListeners(String instanceId)
throws Exception
JobListeners registered in the scheduler.
instanceId - an instance ID (unused by Quartz).
JobListeners registered in the scheduler.
Exception
public CompositeData[] getTriggerListeners(String instanceId)
throws Exception
TriggerListeners registered in the scheduler.
instanceId - an instance ID (unused by Quartz).
TriggerListeners registered in the scheduler.
Exception
public CompositeData[] getSchedulerListeners(String instanceId)
throws Exception
SchedulerListeners registered in the scheduler.
instanceId - an instance ID (unused by Quartz).
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 | |||||||||