|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface QuartzSchedulerMBean
Field Summary | |
---|---|
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
|
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 |
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 |
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 triggerGroupName)
|
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 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)
Resume all jobs in the given group |
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 triggerGroupName)
|
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 |
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)
|
Field Detail |
---|
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
Method Detail |
---|
String getSchedulerName()
String getSchedulerInstanceId()
boolean isStandbyMode()
boolean isShutdown()
String getVersion()
String getJobStoreClassName()
String getThreadPoolClassName()
int getThreadPoolSize()
long getJobsScheduledMostRecentSample()
long getJobsExecutedMostRecentSample()
long getJobsCompletedMostRecentSample()
Map<String,Long> getPerformanceMetrics()
TabularData getCurrentlyExecutingJobs() throws Exception
Exception
TabularData getAllJobDetails() throws Exception
Exception
JobDetailSupport
List<CompositeData> getAllTriggers() throws Exception
Exception
TriggerSupport
List<String> getJobGroupNames() throws Exception
Exception
List<String> getJobNames(String groupName) throws Exception
Exception
CompositeData getJobDetail(String jobName, String jobGroupName) throws Exception
Exception
JobDetailSupport
boolean isStarted()
void start() throws Exception
Exception
void shutdown()
void standby()
void clear() throws Exception
Exception
Date scheduleJob(String jobName, String jobGroup, String triggerName, String triggerGroup) throws Exception
jobName
- jobGroup
- triggerName
- triggerGroup
-
Exception
void scheduleBasicJob(Map<String,Object> jobDetailInfo, Map<String,Object> triggerInfo) throws Exception
Exception
void scheduleJob(Map<String,Object> abstractJobInfo, Map<String,Object> abstractTriggerInfo) throws Exception
Exception
void scheduleJob(String jobName, String jobGroup, Map<String,Object> abstractTriggerInfo) throws Exception
jobName
- jobGroup
- abstractTriggerInfo
-
Exception
boolean unscheduleJob(String triggerName, String triggerGroup) throws Exception
Exception
boolean interruptJob(String jobName, String jobGroupName) throws Exception
Exception
boolean interruptJob(String fireInstanceId) throws Exception
Exception
void triggerJob(String jobName, String jobGroupName, Map<String,String> jobDataMap) throws Exception
Exception
boolean deleteJob(String jobName, String jobGroupName) throws Exception
Exception
void addJob(CompositeData jobDetail, boolean replace) throws Exception
Exception
void addJob(Map<String,Object> abstractJobInfo, boolean replace) throws Exception
abstractJobInfo
- map of attributes defining jobreplace
- whether or not to replace a pre-existing job with the same key
Exception
void pauseJobGroup(String jobGroup) throws Exception
Exception
void pauseJobsStartingWith(String jobGroupPrefix) throws Exception
Exception
void pauseJobsEndingWith(String jobGroupSuffix) throws Exception
Exception
void pauseJobsContaining(String jobGroupToken) throws Exception
Exception
void pauseJobsAll() throws Exception
Exception
void resumeJobGroup(String jobGroup) throws Exception
Exception
void resumeJobsStartingWith(String jobGroupPrefix) throws Exception
Exception
void resumeJobsEndingWith(String jobGroupSuffix) throws Exception
Exception
void resumeJobsContaining(String jobGroupToken) throws Exception
Exception
void resumeJobsAll() throws Exception
Exception
void pauseJob(String jobName, String groupName) throws Exception
Exception
void resumeJob(String jobName, String jobGroupName) throws Exception
Exception
List<String> getTriggerGroupNames() throws Exception
Exception
List<String> getTriggerNames(String triggerGroupName) throws Exception
Exception
CompositeData getTrigger(String triggerName, String triggerGroupName) throws Exception
Exception
String getTriggerState(String triggerName, String triggerGroupName) throws Exception
Exception
List<CompositeData> getTriggersOfJob(String jobName, String jobGroupName) throws Exception
Exception
TriggerSupport
Set<String> getPausedTriggerGroups() throws Exception
Exception
void pauseAllTriggers() throws Exception
Exception
void resumeAllTriggers() throws Exception
Exception
void pauseTriggerGroup(String triggerGroup) throws Exception
Exception
void pauseTriggersStartingWith(String triggerGroupPrefix) throws Exception
Exception
void pauseTriggersEndingWith(String suffix) throws Exception
Exception
void pauseTriggersContaining(String triggerGroupToken) throws Exception
Exception
void pauseTriggersAll() throws Exception
Exception
void resumeTriggerGroup(String triggerGroup) throws Exception
Exception
void resumeTriggersStartingWith(String triggerGroupPrefix) throws Exception
Exception
void resumeTriggersEndingWith(String triggerGroupSuffix) throws Exception
Exception
void resumeTriggersContaining(String triggerGroupToken) throws Exception
Exception
void resumeTriggersAll() throws Exception
Exception
void pauseTrigger(String triggerName, String triggerGroupName) throws Exception
Exception
void resumeTrigger(String triggerName, String triggerGroupName) throws Exception
Exception
List<String> getCalendarNames() throws Exception
Exception
void deleteCalendar(String name) throws Exception
Exception
void setSampledStatisticsEnabled(boolean enabled)
boolean isSampledStatisticsEnabled()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |