public interface QuartzSchedulerMBean
| Modifier and Type | Field and Description |
|---|---|
static String |
JOB_ADDED |
static String |
JOB_DELETED |
static String |
JOB_EXECUTION_VETOED |
static String |
JOB_SCHEDULED |
static String |
JOB_TO_BE_EXECUTED |
static String |
JOB_UNSCHEDULED |
static String |
JOB_WAS_EXECUTED |
static String |
JOBS_PAUSED |
static String |
JOBS_RESUMED |
static String |
SAMPLED_STATISTICS_ENABLED |
static String |
SAMPLED_STATISTICS_RESET |
static String |
SCHEDULER_ERROR |
static String |
SCHEDULER_PAUSED |
static String |
SCHEDULER_SHUTDOWN |
static String |
SCHEDULER_STARTED |
static String |
SCHEDULING_DATA_CLEARED |
static String |
TRIGGER_FINALIZED |
static String |
TRIGGERS_PAUSED |
static String |
TRIGGERS_RESUMED |
| Modifier and Type | Method and Description |
|---|---|
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 |
clear() |
void |
deleteCalendar(String name) |
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() |
Set<String> |
getPausedTriggerGroups() |
Map<String,Long> |
getPerformanceMetrics() |
String |
getSchedulerInstanceId() |
String |
getSchedulerName() |
String |
getThreadPoolClassName() |
int |
getThreadPoolSize() |
CompositeData |
getTrigger(String triggerName,
String triggerGroupName) |
List<String> |
getTriggerGroupNames() |
List<String> |
getTriggerNames(String triggerGroupName) |
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 |
pauseAllTriggers() |
void |
pauseJob(String jobName,
String groupName) |
void |
pauseJobGroup(String jobGroup) |
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 triggerGroupName) |
void |
pauseTriggerGroup(String triggerGroup) |
void |
pauseTriggersContaining(String triggerGroupToken)
Pause all triggers whose group contains triggerGroupToken
|
void |
pauseTriggersEndingWith(String suffix)
Pause all triggers whose group ends with triggerGroupSuffix
|
void |
pauseTriggersStartingWith(String triggerGroupPrefix)
Pause all triggers whose group starts with triggerGroupPrefix
|
void |
resumeAllTriggers() |
void |
resumeJob(String jobName,
String jobGroupName) |
void |
resumeJobGroup(String jobGroup) |
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 triggerGroupName) |
void |
resumeTriggerGroup(String triggerGroup) |
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 |
setSampledStatisticsEnabled(boolean enabled) |
void |
shutdown() |
void |
standby() |
void |
start() |
void |
triggerJob(String jobName,
String jobGroupName,
Map<String,String> jobDataMap) |
boolean |
unscheduleJob(String triggerName,
String triggerGroup) |
static final String SCHEDULER_STARTED
static final String SCHEDULER_PAUSED
static final String SCHEDULER_SHUTDOWN
static final String SCHEDULER_ERROR
static final String JOB_ADDED
static final String JOB_DELETED
static final String JOB_SCHEDULED
static final String JOB_UNSCHEDULED
static final String JOBS_PAUSED
static final String JOBS_RESUMED
static final String JOB_EXECUTION_VETOED
static final String JOB_TO_BE_EXECUTED
static final String JOB_WAS_EXECUTED
static final String TRIGGER_FINALIZED
static final String TRIGGERS_PAUSED
static final String TRIGGERS_RESUMED
static final String SCHEDULING_DATA_CLEARED
static final String SAMPLED_STATISTICS_ENABLED
static final String SAMPLED_STATISTICS_RESET
String getSchedulerName()
String getSchedulerInstanceId()
boolean isStandbyMode()
boolean isShutdown()
String getVersion()
String getJobStoreClassName()
String getThreadPoolClassName()
int getThreadPoolSize()
long getJobsScheduledMostRecentSample()
long getJobsExecutedMostRecentSample()
long getJobsCompletedMostRecentSample()
TabularData getCurrentlyExecutingJobs() throws Exception
ExceptionTabularData getAllJobDetails() throws Exception
ExceptionJobDetailSupportList<CompositeData> getAllTriggers() throws Exception
ExceptionTriggerSupportCompositeData getJobDetail(String jobName, String jobGroupName) throws Exception
ExceptionJobDetailSupportboolean isStarted()
void shutdown()
void standby()
Date scheduleJob(String jobName, String jobGroup, String triggerName, String triggerGroup) throws Exception
jobName - jobGroup - triggerName - triggerGroup - Exceptionvoid scheduleBasicJob(Map<String,Object> jobDetailInfo, Map<String,Object> triggerInfo) throws Exception
Exceptionvoid scheduleJob(Map<String,Object> abstractJobInfo, Map<String,Object> abstractTriggerInfo) throws Exception
Exceptionvoid scheduleJob(String jobName, String jobGroup, Map<String,Object> abstractTriggerInfo) throws Exception
jobName - jobGroup - abstractTriggerInfo - Exceptionboolean unscheduleJob(String triggerName, String triggerGroup) throws Exception
Exceptionboolean interruptJob(String jobName, String jobGroupName) throws Exception
Exceptionvoid triggerJob(String jobName, String jobGroupName, Map<String,String> jobDataMap) throws Exception
Exceptionvoid addJob(CompositeData jobDetail, boolean replace) throws Exception
Exceptionvoid addJob(Map<String,Object> abstractJobInfo, boolean replace) throws Exception
jobDetailMap - replace - Exceptionvoid pauseJobsStartingWith(String jobGroupPrefix) throws Exception
jobGroupPrefix - Exceptionvoid pauseJobsEndingWith(String jobGroupSuffix) throws Exception
jobGroupSuffix - Exceptionvoid pauseJobsContaining(String jobGroupToken) throws Exception
jobGroupToken - Exceptionvoid resumeJobsStartingWith(String jobGroupPrefix) throws Exception
jobGroupPrefix - Exceptionvoid resumeJobsEndingWith(String jobGroupSuffix) throws Exception
jobGroupSuffix - Exceptionvoid resumeJobsContaining(String jobGroupToken) throws Exception
jobGroupToken - ExceptionList<String> getTriggerNames(String triggerGroupName) throws Exception
ExceptionCompositeData getTrigger(String triggerName, String triggerGroupName) throws Exception
ExceptionString getTriggerState(String triggerName, String triggerGroupName) throws Exception
ExceptionList<CompositeData> getTriggersOfJob(String jobName, String jobGroupName) throws Exception
ExceptionTriggerSupportvoid pauseTriggersStartingWith(String triggerGroupPrefix) throws Exception
triggerGroupPrefix - Exceptionvoid pauseTriggersEndingWith(String suffix) throws Exception
triggerGroupSuffix - Exceptionvoid pauseTriggersContaining(String triggerGroupToken) throws Exception
triggerGroupToken - Exceptionvoid resumeTriggersStartingWith(String triggerGroupPrefix) throws Exception
triggerGroupPrefix - Exceptionvoid resumeTriggersEndingWith(String triggerGroupSuffix) throws Exception
triggerGroupSuffix - Exceptionvoid resumeTriggersContaining(String triggerGroupToken) throws Exception
triggerGroupToken - Exceptionvoid pauseTrigger(String triggerName, String triggerGroupName) throws Exception
Exceptionvoid resumeTrigger(String triggerName, String triggerGroupName) throws Exception
Exceptionvoid setSampledStatisticsEnabled(boolean enabled)
boolean isSampledStatisticsEnabled()
Copyright © 2011. All Rights Reserved.