|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjavax.management.StandardMBean
org.quartz.core.QuartzSchedulerMBeanImpl
public class QuartzSchedulerMBeanImpl
| Field Summary | |
|---|---|
protected org.quartz.core.QuartzSchedulerMBeanImpl.Emitter |
emitter
emitter |
protected AtomicLong |
sequenceNumber
sequenceNumber |
| Fields inherited from interface org.quartz.core.jmx.QuartzSchedulerMBean |
|---|
JOB_ADDED, JOB_DELETED, JOB_EXECUTION_VETOED, JOB_SCHEDULED, JOB_TO_BE_EXECUTED, JOB_UNSCHEDULED, JOB_WAS_EXECUTED, JOBS_PAUSED, JOBS_RESUMED, SAMPLED_STATISTICS_ENABLED, SAMPLED_STATISTICS_RESET, SCHEDULER_ERROR, SCHEDULER_PAUSED, SCHEDULER_SHUTDOWN, SCHEDULER_STARTED, SCHEDULING_DATA_CLEARED, TRIGGER_FINALIZED, TRIGGERS_PAUSED, TRIGGERS_RESUMED |
| Constructor Summary | |
|---|---|
protected |
QuartzSchedulerMBeanImpl(QuartzScheduler scheduler)
QuartzSchedulerMBeanImpl |
| Method Summary | |
|---|---|
void |
addJob(CompositeData jobDetail,
boolean replace)
|
void |
addJob(Map<String,Object> abstractJobInfo,
boolean replace)
Adds a durable job described by abstractJobInfo, which must contain the fully-qualified JobDetail class name under the key "jobDetailClass." That JobDetail type must contain a no-arg constructor and have public access. |
void |
addNotificationListener(NotificationListener notif,
NotificationFilter filter,
Object callBack)
|
void |
clear()
|
void |
deleteCalendar(String calendarName)
|
boolean |
deleteJob(String jobName,
String jobGroupName)
|
TabularData |
getAllJobDetails()
|
List<CompositeData> |
getAllTriggers()
|
List<String> |
getCalendarNames()
|
TabularData |
getCurrentlyExecutingJobs()
|
CompositeData |
getJobDetail(String jobName,
String jobGroupName)
|
List<String> |
getJobGroupNames()
|
List<String> |
getJobNames(String groupName)
|
long |
getJobsCompletedMostRecentSample()
|
long |
getJobsExecutedMostRecentSample()
|
long |
getJobsScheduledMostRecentSample()
|
String |
getJobStoreClassName()
|
String |
getName()
Get the name of the JobListener. |
MBeanNotificationInfo[] |
getNotificationInfo()
|
Set<String> |
getPausedTriggerGroups()
|
Map<String,Long> |
getPerformanceMetrics()
|
String |
getSchedulerInstanceId()
|
String |
getSchedulerName()
|
String |
getThreadPoolClassName()
|
int |
getThreadPoolSize()
|
CompositeData |
getTrigger(String name,
String groupName)
|
List<String> |
getTriggerGroupNames()
|
List<String> |
getTriggerNames(String groupName)
|
List<CompositeData> |
getTriggersOfJob(String jobName,
String jobGroupName)
|
String |
getTriggerState(String triggerName,
String triggerGroupName)
|
String |
getVersion()
|
boolean |
interruptJob(String fireInstanceId)
|
boolean |
interruptJob(String jobName,
String jobGroupName)
|
boolean |
isSampledStatisticsEnabled()
|
boolean |
isShutdown()
|
boolean |
isStandbyMode()
|
boolean |
isStarted()
|
void |
jobAdded(JobDetail jobDetail)
Called by the when a
has been added. |
void |
jobDeleted(JobKey jobKey)
Called by the when a
has been deleted. |
void |
jobExecutionVetoed(JobExecutionContext context)
Called by the when a
was about to be executed (an associated
has occurred), but a vetoed it's
execution. |
void |
jobPaused(JobKey jobKey)
Called by the when a
has been paused. |
void |
jobResumed(JobKey jobKey)
Called by the when a
has been un-paused. |
void |
jobScheduled(Trigger trigger)
Called by the when a
is scheduled. |
void |
jobsPaused(String jobGroup)
Called by the when a
group of has been paused. |
void |
jobsResumed(String jobGroup)
Called by the when a
group of has been un-paused. |
void |
jobToBeExecuted(JobExecutionContext context)
Called by the when a
is about to be executed (an associated
has occurred). |
void |
jobUnscheduled(TriggerKey triggerKey)
Called by the when a
is unscheduled. |
void |
jobWasExecuted(JobExecutionContext context,
JobExecutionException jobException)
Called by the after a
has been executed, and be for the associated Trigger's
triggered(xx) method has been called. |
void |
pauseAllTriggers()
|
void |
pauseJob(String jobName,
String jobGroup)
|
void |
pauseJobGroup(String jobGroup)
|
void |
pauseJobs(GroupMatcher<JobKey> matcher)
|
void |
pauseJobsAll()
Pause all jobs whose group is anything |
void |
pauseJobsContaining(String jobGroupToken)
Pause all jobs whose group contains jobGroupToken |
void |
pauseJobsEndingWith(String jobGroupSuffix)
Pause all jobs whose group ends with jobGroupSuffix |
void |
pauseJobsStartingWith(String jobGroupPrefix)
Pause all jobs whose group starts with jobGroupPrefix |
void |
pauseTrigger(String triggerName,
String triggerGroup)
|
void |
pauseTriggerGroup(String triggerGroup)
|
void |
pauseTriggersAll()
Pause all triggers whose group is anything |
void |
pauseTriggersContaining(String triggerGroupToken)
Pause all triggers whose group contains triggerGroupToken |
void |
pauseTriggersEndingWith(String triggerGroupSuffix)
Pause all triggers whose group ends with triggerGroupSuffix |
void |
pauseTriggersStartingWith(String triggerGroupPrefix)
Pause all triggers whose group starts with triggerGroupPrefix |
void |
removeNotificationListener(NotificationListener listener)
|
void |
removeNotificationListener(NotificationListener notif,
NotificationFilter filter,
Object callBack)
|
void |
resumeAllTriggers()
|
void |
resumeJob(String jobName,
String jobGroup)
|
void |
resumeJobGroup(String jobGroup)
Resume all jobs in the given group |
void |
resumeJobs(GroupMatcher<JobKey> matcher)
|
void |
resumeJobsAll()
Resume all jobs whose group is anything |
void |
resumeJobsContaining(String jobGroupToken)
Resume all jobs whose group contains jobGroupToken |
void |
resumeJobsEndingWith(String jobGroupSuffix)
Resume all jobs whose group ends with jobGroupSuffix |
void |
resumeJobsStartingWith(String jobGroupPrefix)
Resume all jobs whose group starts with jobGroupPrefix |
void |
resumeTrigger(String triggerName,
String triggerGroup)
|
void |
resumeTriggerGroup(String triggerGroup)
|
void |
resumeTriggersAll()
Resume all triggers whose group is anything |
void |
resumeTriggersContaining(String triggerGroupToken)
Resume all triggers whose group contains triggerGroupToken |
void |
resumeTriggersEndingWith(String triggerGroupSuffix)
Resume all triggers whose group ends with triggerGroupSuffix |
void |
resumeTriggersStartingWith(String triggerGroupPrefix)
Resume all triggers whose group starts with triggerGroupPrefix |
void |
scheduleBasicJob(Map<String,Object> jobDetailInfo,
Map<String,Object> triggerInfo)
Schedules a job using the given Cron/Simple triggerInfo. |
void |
scheduleJob(Map<String,Object> abstractJobInfo,
Map<String,Object> abstractTriggerInfo)
Schedules an arbitrary job described by abstractJobInfo using a trigger specified by abstractTriggerInfo. |
void |
scheduleJob(String jobName,
String jobGroup,
Map<String,Object> abstractTriggerInfo)
Schedules the specified job using a trigger described by abstractTriggerInfo, which must contain the fully-qualified trigger class name under the key "triggerClass." That trigger type must contain a no-arg constructor and have public access. |
Date |
scheduleJob(String jobName,
String jobGroup,
String triggerName,
String triggerGroup)
Schedule an existing job with an existing trigger. |
void |
schedulerError(String msg,
SchedulerException cause)
Called by the when a serious error has
occurred within the scheduler - such as repeated failures in the JobStore,
or the inability to instantiate a Job instance when its
Trigger has fired. |
void |
schedulerInStandbyMode()
Called by the to inform the listener
that it has move to standby mode. |
void |
schedulerShutdown()
Called by the to inform the listener
that it has shutdown. |
void |
schedulerShuttingdown()
Called by the to inform the listener
that it has begun the shutdown sequence. |
void |
schedulerStarted()
Called by the to inform the listener
that it has started. |
void |
schedulerStarting()
Called by the to inform the listener
that it is starting. |
void |
schedulingDataCleared()
Called by the to inform the listener
that all jobs, triggers and calendars were deleted. |
void |
sendNotification(String eventType)
sendNotification |
void |
sendNotification(String eventType,
Object data)
sendNotification |
void |
sendNotification(String eventType,
Object data,
String msg)
sendNotification |
void |
setSampledStatisticsEnabled(boolean enabled)
|
void |
shutdown()
|
void |
standby()
|
void |
start()
|
void |
triggerFinalized(Trigger trigger)
Called by the when a
has reached the condition in which it will never fire again. |
void |
triggerJob(CompositeData trigger)
|
void |
triggerJob(String jobName,
String jobGroup,
Map<String,String> jobDataMap)
|
void |
triggerPaused(TriggerKey triggerKey)
Called by the when a
has been paused. |
void |
triggerResumed(TriggerKey triggerKey)
Called by the when a
has been un-paused. |
void |
triggersPaused(String triggerGroup)
Called by the when a
group of has been paused. |
void |
triggersResumed(String triggerGroup)
Called by the when a
group of has been un-paused. |
boolean |
unscheduleJob(String triggerName,
String triggerGroup)
|
| Methods inherited from class javax.management.StandardMBean |
|---|
cacheMBeanInfo, getAttribute, getAttributes, getCachedMBeanInfo, getClassName, getConstructors, getDescription, getDescription, getDescription, getDescription, getDescription, getDescription, getDescription, getImpact, getImplementation, getImplementationClass, getMBeanInfo, getMBeanInterface, getParameterName, getParameterName, invoke, postDeregister, postRegister, preDeregister, preRegister, setAttribute, setAttributes, setImplementation |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected final org.quartz.core.QuartzSchedulerMBeanImpl.Emitter emitter
protected final AtomicLong sequenceNumber
| Constructor Detail |
|---|
protected QuartzSchedulerMBeanImpl(QuartzScheduler scheduler)
throws NotCompliantMBeanException
NotCompliantMBeanException| Method Detail |
|---|
public TabularData getCurrentlyExecutingJobs()
throws Exception
getCurrentlyExecutingJobs in interface QuartzSchedulerMBeanException
public TabularData getAllJobDetails()
throws Exception
getAllJobDetails in interface QuartzSchedulerMBeanExceptionJobDetailSupport
public List<CompositeData> getAllTriggers()
throws Exception
getAllTriggers in interface QuartzSchedulerMBeanExceptionTriggerSupport
public void addJob(CompositeData jobDetail,
boolean replace)
throws Exception
addJob in interface QuartzSchedulerMBeanException
public void scheduleBasicJob(Map<String,Object> jobDetailInfo,
Map<String,Object> triggerInfo)
throws Exception
QuartzSchedulerMBean
scheduleBasicJob in interface QuartzSchedulerMBeanException
public void scheduleJob(Map<String,Object> abstractJobInfo,
Map<String,Object> abstractTriggerInfo)
throws Exception
QuartzSchedulerMBean
scheduleJob in interface QuartzSchedulerMBeanException
public void scheduleJob(String jobName,
String jobGroup,
Map<String,Object> abstractTriggerInfo)
throws Exception
QuartzSchedulerMBean
scheduleJob in interface QuartzSchedulerMBeanException
public void addJob(Map<String,Object> abstractJobInfo,
boolean replace)
throws Exception
QuartzSchedulerMBean
addJob in interface QuartzSchedulerMBeanabstractJobInfo - map of attributes defining jobreplace - whether or not to replace a pre-existing job with the same key
Exception
public void deleteCalendar(String calendarName)
throws Exception
deleteCalendar in interface QuartzSchedulerMBeanException
public boolean deleteJob(String jobName,
String jobGroupName)
throws Exception
deleteJob in interface QuartzSchedulerMBeanException
public List<String> getCalendarNames()
throws Exception
getCalendarNames in interface QuartzSchedulerMBeanException
public CompositeData getJobDetail(String jobName,
String jobGroupName)
throws Exception
getJobDetail in interface QuartzSchedulerMBeanExceptionJobDetailSupport
public List<String> getJobGroupNames()
throws Exception
getJobGroupNames in interface QuartzSchedulerMBeanException
public List<String> getJobNames(String groupName)
throws Exception
getJobNames in interface QuartzSchedulerMBeanExceptionpublic String getJobStoreClassName()
getJobStoreClassName in interface QuartzSchedulerMBean
public Set<String> getPausedTriggerGroups()
throws Exception
getPausedTriggerGroups in interface QuartzSchedulerMBeanException
public CompositeData getTrigger(String name,
String groupName)
throws Exception
getTrigger in interface QuartzSchedulerMBeanException
public List<String> getTriggerGroupNames()
throws Exception
getTriggerGroupNames in interface QuartzSchedulerMBeanException
public List<String> getTriggerNames(String groupName)
throws Exception
getTriggerNames in interface QuartzSchedulerMBeanException
public String getTriggerState(String triggerName,
String triggerGroupName)
throws Exception
getTriggerState in interface QuartzSchedulerMBeanException
public List<CompositeData> getTriggersOfJob(String jobName,
String jobGroupName)
throws Exception
getTriggersOfJob in interface QuartzSchedulerMBeanExceptionTriggerSupport
public boolean interruptJob(String jobName,
String jobGroupName)
throws Exception
interruptJob in interface QuartzSchedulerMBeanException
public boolean interruptJob(String fireInstanceId)
throws Exception
interruptJob in interface QuartzSchedulerMBeanException
public Date scheduleJob(String jobName,
String jobGroup,
String triggerName,
String triggerGroup)
throws Exception
QuartzSchedulerMBean
scheduleJob in interface QuartzSchedulerMBeanException
public boolean unscheduleJob(String triggerName,
String triggerGroup)
throws Exception
unscheduleJob in interface QuartzSchedulerMBeanException
public void clear()
throws Exception
clear in interface QuartzSchedulerMBeanExceptionpublic String getVersion()
getVersion in interface QuartzSchedulerMBeanpublic boolean isShutdown()
isShutdown in interface QuartzSchedulerMBeanpublic boolean isStarted()
isStarted in interface QuartzSchedulerMBean
public void start()
throws Exception
start in interface QuartzSchedulerMBeanExceptionpublic void shutdown()
shutdown in interface QuartzSchedulerMBeanpublic void standby()
standby in interface QuartzSchedulerMBeanpublic boolean isStandbyMode()
isStandbyMode in interface QuartzSchedulerMBeanpublic String getSchedulerName()
getSchedulerName in interface QuartzSchedulerMBeanpublic String getSchedulerInstanceId()
getSchedulerInstanceId in interface QuartzSchedulerMBeanpublic String getThreadPoolClassName()
getThreadPoolClassName in interface QuartzSchedulerMBeanpublic int getThreadPoolSize()
getThreadPoolSize in interface QuartzSchedulerMBean
public void pauseJob(String jobName,
String jobGroup)
throws Exception
pauseJob in interface QuartzSchedulerMBeanException
public void pauseJobs(GroupMatcher<JobKey> matcher)
throws Exception
Exception
public void pauseJobGroup(String jobGroup)
throws Exception
pauseJobGroup in interface QuartzSchedulerMBeanException
public void pauseJobsStartingWith(String jobGroupPrefix)
throws Exception
QuartzSchedulerMBean
pauseJobsStartingWith in interface QuartzSchedulerMBeanException
public void pauseJobsEndingWith(String jobGroupSuffix)
throws Exception
QuartzSchedulerMBean
pauseJobsEndingWith in interface QuartzSchedulerMBeanException
public void pauseJobsContaining(String jobGroupToken)
throws Exception
QuartzSchedulerMBean
pauseJobsContaining in interface QuartzSchedulerMBeanException
public void pauseJobsAll()
throws Exception
QuartzSchedulerMBean
pauseJobsAll in interface QuartzSchedulerMBeanException
public void pauseAllTriggers()
throws Exception
pauseAllTriggers in interface QuartzSchedulerMBeanException
public void pauseTriggerGroup(String triggerGroup)
throws Exception
pauseTriggerGroup in interface QuartzSchedulerMBeanException
public void pauseTriggersStartingWith(String triggerGroupPrefix)
throws Exception
QuartzSchedulerMBean
pauseTriggersStartingWith in interface QuartzSchedulerMBeanException
public void pauseTriggersEndingWith(String triggerGroupSuffix)
throws Exception
QuartzSchedulerMBean
pauseTriggersEndingWith in interface QuartzSchedulerMBeanException
public void pauseTriggersContaining(String triggerGroupToken)
throws Exception
QuartzSchedulerMBean
pauseTriggersContaining in interface QuartzSchedulerMBeanException
public void pauseTriggersAll()
throws Exception
QuartzSchedulerMBean
pauseTriggersAll in interface QuartzSchedulerMBeanException
public void pauseTrigger(String triggerName,
String triggerGroup)
throws Exception
pauseTrigger in interface QuartzSchedulerMBeanException
public void resumeAllTriggers()
throws Exception
resumeAllTriggers in interface QuartzSchedulerMBeanException
public void resumeJob(String jobName,
String jobGroup)
throws Exception
resumeJob in interface QuartzSchedulerMBeanException
public void resumeJobs(GroupMatcher<JobKey> matcher)
throws Exception
Exception
public void resumeJobGroup(String jobGroup)
throws Exception
QuartzSchedulerMBean
resumeJobGroup in interface QuartzSchedulerMBeanException
public void resumeJobsStartingWith(String jobGroupPrefix)
throws Exception
QuartzSchedulerMBean
resumeJobsStartingWith in interface QuartzSchedulerMBeanException
public void resumeJobsEndingWith(String jobGroupSuffix)
throws Exception
QuartzSchedulerMBean
resumeJobsEndingWith in interface QuartzSchedulerMBeanException
public void resumeJobsContaining(String jobGroupToken)
throws Exception
QuartzSchedulerMBean
resumeJobsContaining in interface QuartzSchedulerMBeanException
public void resumeJobsAll()
throws Exception
QuartzSchedulerMBean
resumeJobsAll in interface QuartzSchedulerMBeanException
public void resumeTrigger(String triggerName,
String triggerGroup)
throws Exception
resumeTrigger in interface QuartzSchedulerMBeanException
public void resumeTriggerGroup(String triggerGroup)
throws Exception
resumeTriggerGroup in interface QuartzSchedulerMBeanException
public void resumeTriggersStartingWith(String triggerGroupPrefix)
throws Exception
QuartzSchedulerMBean
resumeTriggersStartingWith in interface QuartzSchedulerMBeanException
public void resumeTriggersEndingWith(String triggerGroupSuffix)
throws Exception
QuartzSchedulerMBean
resumeTriggersEndingWith in interface QuartzSchedulerMBeanException
public void resumeTriggersContaining(String triggerGroupToken)
throws Exception
QuartzSchedulerMBean
resumeTriggersContaining in interface QuartzSchedulerMBeanException
public void resumeTriggersAll()
throws Exception
QuartzSchedulerMBean
resumeTriggersAll in interface QuartzSchedulerMBeanException
public void triggerJob(String jobName,
String jobGroup,
Map<String,String> jobDataMap)
throws Exception
triggerJob in interface QuartzSchedulerMBeanException
public void triggerJob(CompositeData trigger)
throws Exception
Exceptionpublic void jobAdded(JobDetail jobDetail)
SchedulerListener
Called by the when a Scheduler
has been added.
JobDetail
jobAdded in interface SchedulerListenerpublic void jobDeleted(JobKey jobKey)
SchedulerListener
Called by the when a Scheduler
has been deleted.
JobDetail
jobDeleted in interface SchedulerListenerpublic void jobScheduled(Trigger trigger)
SchedulerListener
Called by the when a Scheduler
is scheduled.
JobDetail
jobScheduled in interface SchedulerListenerpublic void jobUnscheduled(TriggerKey triggerKey)
SchedulerListener
Called by the when a Scheduler
is unscheduled.
JobDetail
jobUnscheduled in interface SchedulerListenerSchedulerListener.schedulingDataCleared()public void schedulingDataCleared()
SchedulerListenerScheduler to inform the listener
that all jobs, triggers and calendars were deleted.
schedulingDataCleared in interface SchedulerListenerpublic void jobPaused(JobKey jobKey)
SchedulerListener
Called by the when a Scheduler
has been paused.
JobDetail
jobPaused in interface SchedulerListenerpublic void jobsPaused(String jobGroup)
SchedulerListener
Called by the when a
group of Scheduler has been paused.
JobDetails
jobsPaused in interface SchedulerListenerjobGroup - the paused group, or null if all were pausedpublic void jobsResumed(String jobGroup)
SchedulerListener
Called by the when a
group of Scheduler has been un-paused.
JobDetails
jobsResumed in interface SchedulerListenerpublic void jobResumed(JobKey jobKey)
SchedulerListener
Called by the when a Scheduler
has been un-paused.
JobDetail
jobResumed in interface SchedulerListener
public void schedulerError(String msg,
SchedulerException cause)
SchedulerListener
Called by the when a serious error has
occurred within the scheduler - such as repeated failures in the SchedulerJobStore,
or the inability to instantiate a Job instance when its
Trigger has fired.
The getErrorCode() method of the given SchedulerException
can be used to determine more specific information about the type of
error that was encountered.
schedulerError in interface SchedulerListenerpublic void schedulerStarted()
SchedulerListener
Called by the to inform the listener
that it has started.
Scheduler
schedulerStarted in interface SchedulerListenerpublic void schedulerStarting()
SchedulerListener
Called by the to inform the listener
that it is starting.
Scheduler
schedulerStarting in interface SchedulerListenerpublic void schedulerInStandbyMode()
SchedulerListener
Called by the to inform the listener
that it has move to standby mode.
Scheduler
schedulerInStandbyMode in interface SchedulerListenerpublic void schedulerShutdown()
SchedulerListener
Called by the to inform the listener
that it has shutdown.
Scheduler
schedulerShutdown in interface SchedulerListenerpublic void schedulerShuttingdown()
SchedulerListener
Called by the to inform the listener
that it has begun the shutdown sequence.
Scheduler
schedulerShuttingdown in interface SchedulerListenerpublic void triggerFinalized(Trigger trigger)
SchedulerListener
Called by the when a Scheduler
has reached the condition in which it will never fire again.
Trigger
triggerFinalized in interface SchedulerListenerpublic void triggersPaused(String triggerGroup)
SchedulerListener
Called by the when a
group of Scheduler has been paused.
Triggers
If all groups were paused then triggerGroup will be null
triggersPaused in interface SchedulerListenertriggerGroup - the paused group, or null if all were pausedpublic void triggerPaused(TriggerKey triggerKey)
SchedulerListener
Called by the when a Scheduler
has been paused.
Trigger
triggerPaused in interface SchedulerListenerpublic void triggersResumed(String triggerGroup)
SchedulerListener
Called by the when a
group of Scheduler has been un-paused.
Triggers
triggersResumed in interface SchedulerListenerpublic void triggerResumed(TriggerKey triggerKey)
SchedulerListener
Called by the when a Scheduler
has been un-paused.
Trigger
triggerResumed in interface SchedulerListenerpublic String getName()
JobListener
Get the name of the JobListener.
getName in interface JobListenerpublic void jobExecutionVetoed(JobExecutionContext context)
JobListener
Called by the when a Scheduler
was about to be executed (an associated JobDetail
has occurred), but a Trigger vetoed it's
execution.
TriggerListener
jobExecutionVetoed in interface JobListenerJobListener.jobToBeExecuted(JobExecutionContext)public void jobToBeExecuted(JobExecutionContext context)
JobListener
Called by the when a Scheduler
is about to be executed (an associated JobDetail
has occurred).
Trigger
This method will not be invoked if the execution of the Job was vetoed
by a .
TriggerListener
jobToBeExecuted in interface JobListenerJobListener.jobExecutionVetoed(JobExecutionContext)
public void jobWasExecuted(JobExecutionContext context,
JobExecutionException jobException)
JobListener
Called by the after a Scheduler
has been executed, and be for the associated JobDetailTrigger's
triggered(xx) method has been called.
jobWasExecuted in interface JobListenerpublic void sendNotification(String eventType)
eventType -
public void sendNotification(String eventType,
Object data)
eventType - data -
public void sendNotification(String eventType,
Object data,
String msg)
eventType - data - msg -
public void addNotificationListener(NotificationListener notif,
NotificationFilter filter,
Object callBack)
addNotificationListener in interface NotificationBroadcasterNotificationBroadcaster.addNotificationListener(javax.management.NotificationListener,
javax.management.NotificationFilter, java.lang.Object)public MBeanNotificationInfo[] getNotificationInfo()
getNotificationInfo in interface NotificationBroadcasterNotificationBroadcaster.getNotificationInfo()
public void removeNotificationListener(NotificationListener listener)
throws ListenerNotFoundException
removeNotificationListener in interface NotificationBroadcasterListenerNotFoundExceptionNotificationBroadcaster.removeNotificationListener(javax.management.NotificationListener)
public void removeNotificationListener(NotificationListener notif,
NotificationFilter filter,
Object callBack)
throws ListenerNotFoundException
removeNotificationListener in interface NotificationEmitterListenerNotFoundExceptionNotificationEmitter.removeNotificationListener(javax.management.NotificationListener,
javax.management.NotificationFilter, java.lang.Object)public boolean isSampledStatisticsEnabled()
isSampledStatisticsEnabled in interface QuartzSchedulerMBeanpublic void setSampledStatisticsEnabled(boolean enabled)
setSampledStatisticsEnabled in interface QuartzSchedulerMBeanpublic long getJobsCompletedMostRecentSample()
getJobsCompletedMostRecentSample in interface QuartzSchedulerMBeanpublic long getJobsExecutedMostRecentSample()
getJobsExecutedMostRecentSample in interface QuartzSchedulerMBeanpublic long getJobsScheduledMostRecentSample()
getJobsScheduledMostRecentSample in interface QuartzSchedulerMBeanpublic Map<String,Long> getPerformanceMetrics()
getPerformanceMetrics in interface QuartzSchedulerMBean
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||