|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface QuartzSchedulerMBean
Field Summary | |
---|---|
static java.lang.String |
JOB_ADDED
|
static java.lang.String |
JOB_DELETED
|
static java.lang.String |
JOB_EXECUTION_VETOED
|
static java.lang.String |
JOB_SCHEDULED
|
static java.lang.String |
JOB_TO_BE_EXECUTED
|
static java.lang.String |
JOB_UNSCHEDULED
|
static java.lang.String |
JOB_WAS_EXECUTED
|
static java.lang.String |
JOBS_PAUSED
|
static java.lang.String |
JOBS_RESUMED
|
static java.lang.String |
SAMPLED_STATISTICS_ENABLED
|
static java.lang.String |
SAMPLED_STATISTICS_RESET
|
static java.lang.String |
SCHEDULER_ERROR
|
static java.lang.String |
SCHEDULER_PAUSED
|
static java.lang.String |
SCHEDULER_SHUTDOWN
|
static java.lang.String |
SCHEDULER_STARTED
|
static java.lang.String |
SCHEDULING_DATA_CLEARED
|
static java.lang.String |
TRIGGER_FINALIZED
|
static java.lang.String |
TRIGGERS_PAUSED
|
static java.lang.String |
TRIGGERS_RESUMED
|
Method Summary | |
---|---|
void |
addJob(javax.management.openmbean.CompositeData jobDetail,
boolean replace)
|
void |
addJob(java.util.Map<java.lang.String,java.lang.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(java.lang.String name)
|
boolean |
deleteJob(java.lang.String jobName,
java.lang.String jobGroupName)
|
javax.management.openmbean.TabularData |
getAllJobDetails()
|
java.util.List<javax.management.openmbean.CompositeData> |
getAllTriggers()
|
java.util.List<java.lang.String> |
getCalendarNames()
|
javax.management.openmbean.TabularData |
getCurrentlyExecutingJobs()
|
javax.management.openmbean.CompositeData |
getJobDetail(java.lang.String jobName,
java.lang.String jobGroupName)
|
java.util.List<java.lang.String> |
getJobGroupNames()
|
java.util.List<java.lang.String> |
getJobNames(java.lang.String groupName)
|
long |
getJobsCompletedMostRecentSample()
|
long |
getJobsExecutedMostRecentSample()
|
long |
getJobsScheduledMostRecentSample()
|
java.lang.String |
getJobStoreClassName()
|
java.util.Set<java.lang.String> |
getPausedTriggerGroups()
|
java.util.Map<java.lang.String,java.lang.Long> |
getPerformanceMetrics()
|
java.lang.String |
getSchedulerInstanceId()
|
java.lang.String |
getSchedulerName()
|
java.lang.String |
getThreadPoolClassName()
|
int |
getThreadPoolSize()
|
javax.management.openmbean.CompositeData |
getTrigger(java.lang.String triggerName,
java.lang.String triggerGroupName)
|
java.util.List<java.lang.String> |
getTriggerGroupNames()
|
java.util.List<java.lang.String> |
getTriggerNames(java.lang.String triggerGroupName)
|
java.util.List<javax.management.openmbean.CompositeData> |
getTriggersOfJob(java.lang.String jobName,
java.lang.String jobGroupName)
|
java.lang.String |
getTriggerState(java.lang.String triggerName,
java.lang.String triggerGroupName)
|
java.lang.String |
getVersion()
|
boolean |
interruptJob(java.lang.String jobName,
java.lang.String jobGroupName)
|
boolean |
isSampledStatisticsEnabled()
|
boolean |
isShutdown()
|
boolean |
isStandbyMode()
|
boolean |
isStarted()
|
void |
pauseAllTriggers()
|
void |
pauseJob(java.lang.String jobName,
java.lang.String groupName)
|
void |
pauseJobGroup(java.lang.String jobGroup)
|
void |
pauseJobsContaining(java.lang.String jobGroupToken)
Pause all jobs whose group contains jobGroupToken |
void |
pauseJobsEndingWith(java.lang.String jobGroupSuffix)
Pause all jobs whose group ends with jobGroupSuffix |
void |
pauseJobsStartingWith(java.lang.String jobGroupPrefix)
Pause all jobs whose group starts with jobGroupPrefix |
void |
pauseTrigger(java.lang.String triggerName,
java.lang.String triggerGroupName)
|
void |
pauseTriggerGroup(java.lang.String triggerGroup)
|
void |
pauseTriggersContaining(java.lang.String triggerGroupToken)
Pause all triggers whose group contains triggerGroupToken |
void |
pauseTriggersEndingWith(java.lang.String suffix)
Pause all triggers whose group ends with triggerGroupSuffix |
void |
pauseTriggersStartingWith(java.lang.String triggerGroupPrefix)
Pause all triggers whose group starts with triggerGroupPrefix |
void |
resumeAllTriggers()
|
void |
resumeJob(java.lang.String jobName,
java.lang.String jobGroupName)
|
void |
resumeJobGroup(java.lang.String jobGroup)
|
void |
resumeJobsContaining(java.lang.String jobGroupToken)
Resume all jobs whose group contains jobGroupToken |
void |
resumeJobsEndingWith(java.lang.String jobGroupSuffix)
Resume all jobs whose group ends with jobGroupSuffix |
void |
resumeJobsStartingWith(java.lang.String jobGroupPrefix)
Resume all jobs whose group starts with jobGroupPrefix |
void |
resumeTrigger(java.lang.String triggerName,
java.lang.String triggerGroupName)
|
void |
resumeTriggerGroup(java.lang.String triggerGroup)
|
void |
resumeTriggersContaining(java.lang.String triggerGroupToken)
Resume all triggers whose group contains triggerGroupToken |
void |
resumeTriggersEndingWith(java.lang.String triggerGroupSuffix)
Resume all triggers whose group ends with triggerGroupSuffix |
void |
resumeTriggersStartingWith(java.lang.String triggerGroupPrefix)
Resume all triggers whose group starts with triggerGroupPrefix |
void |
scheduleBasicJob(java.util.Map<java.lang.String,java.lang.Object> jobDetailInfo,
java.util.Map<java.lang.String,java.lang.Object> triggerInfo)
Schedules a job using the given Cron/Simple triggerInfo. |
void |
scheduleJob(java.util.Map<java.lang.String,java.lang.Object> abstractJobInfo,
java.util.Map<java.lang.String,java.lang.Object> abstractTriggerInfo)
Schedules an arbitrary job described by abstractJobInfo using a trigger specified by abstractTriggerInfo. |
void |
scheduleJob(java.lang.String jobName,
java.lang.String jobGroup,
java.util.Map<java.lang.String,java.lang.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. |
java.util.Date |
scheduleJob(java.lang.String jobName,
java.lang.String jobGroup,
java.lang.String triggerName,
java.lang.String triggerGroup)
Schedule an existing job with an existing trigger. |
void |
setSampledStatisticsEnabled(boolean enabled)
|
void |
shutdown()
|
void |
standby()
|
void |
start()
|
void |
triggerJob(java.lang.String jobName,
java.lang.String jobGroupName,
java.util.Map<java.lang.String,java.lang.String> jobDataMap)
|
boolean |
unscheduleJob(java.lang.String triggerName,
java.lang.String triggerGroup)
|
Field Detail |
---|
static final java.lang.String SCHEDULER_STARTED
static final java.lang.String SCHEDULER_PAUSED
static final java.lang.String SCHEDULER_SHUTDOWN
static final java.lang.String SCHEDULER_ERROR
static final java.lang.String JOB_ADDED
static final java.lang.String JOB_DELETED
static final java.lang.String JOB_SCHEDULED
static final java.lang.String JOB_UNSCHEDULED
static final java.lang.String JOBS_PAUSED
static final java.lang.String JOBS_RESUMED
static final java.lang.String JOB_EXECUTION_VETOED
static final java.lang.String JOB_TO_BE_EXECUTED
static final java.lang.String JOB_WAS_EXECUTED
static final java.lang.String TRIGGER_FINALIZED
static final java.lang.String TRIGGERS_PAUSED
static final java.lang.String TRIGGERS_RESUMED
static final java.lang.String SCHEDULING_DATA_CLEARED
static final java.lang.String SAMPLED_STATISTICS_ENABLED
static final java.lang.String SAMPLED_STATISTICS_RESET
Method Detail |
---|
java.lang.String getSchedulerName()
java.lang.String getSchedulerInstanceId()
boolean isStandbyMode()
boolean isShutdown()
java.lang.String getVersion()
java.lang.String getJobStoreClassName()
java.lang.String getThreadPoolClassName()
int getThreadPoolSize()
long getJobsScheduledMostRecentSample()
long getJobsExecutedMostRecentSample()
long getJobsCompletedMostRecentSample()
java.util.Map<java.lang.String,java.lang.Long> getPerformanceMetrics()
javax.management.openmbean.TabularData getCurrentlyExecutingJobs() throws java.lang.Exception
java.lang.Exception
javax.management.openmbean.TabularData getAllJobDetails() throws java.lang.Exception
java.lang.Exception
JobDetailSupport
java.util.List<javax.management.openmbean.CompositeData> getAllTriggers() throws java.lang.Exception
java.lang.Exception
TriggerSupport
java.util.List<java.lang.String> getJobGroupNames() throws java.lang.Exception
java.lang.Exception
java.util.List<java.lang.String> getJobNames(java.lang.String groupName) throws java.lang.Exception
java.lang.Exception
javax.management.openmbean.CompositeData getJobDetail(java.lang.String jobName, java.lang.String jobGroupName) throws java.lang.Exception
java.lang.Exception
JobDetailSupport
boolean isStarted()
void start() throws java.lang.Exception
java.lang.Exception
void shutdown()
void standby()
void clear() throws java.lang.Exception
java.lang.Exception
java.util.Date scheduleJob(java.lang.String jobName, java.lang.String jobGroup, java.lang.String triggerName, java.lang.String triggerGroup) throws java.lang.Exception
jobName
- jobGroup
- triggerName
- triggerGroup
-
java.lang.Exception
void scheduleBasicJob(java.util.Map<java.lang.String,java.lang.Object> jobDetailInfo, java.util.Map<java.lang.String,java.lang.Object> triggerInfo) throws java.lang.Exception
java.lang.Exception
void scheduleJob(java.util.Map<java.lang.String,java.lang.Object> abstractJobInfo, java.util.Map<java.lang.String,java.lang.Object> abstractTriggerInfo) throws java.lang.Exception
java.lang.Exception
void scheduleJob(java.lang.String jobName, java.lang.String jobGroup, java.util.Map<java.lang.String,java.lang.Object> abstractTriggerInfo) throws java.lang.Exception
jobName
- jobGroup
- abstractTriggerInfo
-
java.lang.Exception
boolean unscheduleJob(java.lang.String triggerName, java.lang.String triggerGroup) throws java.lang.Exception
java.lang.Exception
boolean interruptJob(java.lang.String jobName, java.lang.String jobGroupName) throws java.lang.Exception
java.lang.Exception
void triggerJob(java.lang.String jobName, java.lang.String jobGroupName, java.util.Map<java.lang.String,java.lang.String> jobDataMap) throws java.lang.Exception
java.lang.Exception
boolean deleteJob(java.lang.String jobName, java.lang.String jobGroupName) throws java.lang.Exception
java.lang.Exception
void addJob(javax.management.openmbean.CompositeData jobDetail, boolean replace) throws java.lang.Exception
java.lang.Exception
void addJob(java.util.Map<java.lang.String,java.lang.Object> abstractJobInfo, boolean replace) throws java.lang.Exception
jobDetailMap
- replace
-
java.lang.Exception
void pauseJobGroup(java.lang.String jobGroup) throws java.lang.Exception
java.lang.Exception
void pauseJobsStartingWith(java.lang.String jobGroupPrefix) throws java.lang.Exception
jobGroupPrefix
-
java.lang.Exception
void pauseJobsEndingWith(java.lang.String jobGroupSuffix) throws java.lang.Exception
jobGroupSuffix
-
java.lang.Exception
void pauseJobsContaining(java.lang.String jobGroupToken) throws java.lang.Exception
jobGroupToken
-
java.lang.Exception
void resumeJobGroup(java.lang.String jobGroup) throws java.lang.Exception
java.lang.Exception
void resumeJobsStartingWith(java.lang.String jobGroupPrefix) throws java.lang.Exception
jobGroupPrefix
-
java.lang.Exception
void resumeJobsEndingWith(java.lang.String jobGroupSuffix) throws java.lang.Exception
jobGroupSuffix
-
java.lang.Exception
void resumeJobsContaining(java.lang.String jobGroupToken) throws java.lang.Exception
jobGroupToken
-
java.lang.Exception
void pauseJob(java.lang.String jobName, java.lang.String groupName) throws java.lang.Exception
java.lang.Exception
void resumeJob(java.lang.String jobName, java.lang.String jobGroupName) throws java.lang.Exception
java.lang.Exception
java.util.List<java.lang.String> getTriggerGroupNames() throws java.lang.Exception
java.lang.Exception
java.util.List<java.lang.String> getTriggerNames(java.lang.String triggerGroupName) throws java.lang.Exception
java.lang.Exception
javax.management.openmbean.CompositeData getTrigger(java.lang.String triggerName, java.lang.String triggerGroupName) throws java.lang.Exception
java.lang.Exception
java.lang.String getTriggerState(java.lang.String triggerName, java.lang.String triggerGroupName) throws java.lang.Exception
java.lang.Exception
java.util.List<javax.management.openmbean.CompositeData> getTriggersOfJob(java.lang.String jobName, java.lang.String jobGroupName) throws java.lang.Exception
java.lang.Exception
TriggerSupport
java.util.Set<java.lang.String> getPausedTriggerGroups() throws java.lang.Exception
java.lang.Exception
void pauseAllTriggers() throws java.lang.Exception
java.lang.Exception
void resumeAllTriggers() throws java.lang.Exception
java.lang.Exception
void pauseTriggerGroup(java.lang.String triggerGroup) throws java.lang.Exception
java.lang.Exception
void pauseTriggersStartingWith(java.lang.String triggerGroupPrefix) throws java.lang.Exception
triggerGroupPrefix
-
java.lang.Exception
void pauseTriggersEndingWith(java.lang.String suffix) throws java.lang.Exception
triggerGroupSuffix
-
java.lang.Exception
void pauseTriggersContaining(java.lang.String triggerGroupToken) throws java.lang.Exception
triggerGroupToken
-
java.lang.Exception
void resumeTriggerGroup(java.lang.String triggerGroup) throws java.lang.Exception
java.lang.Exception
void resumeTriggersStartingWith(java.lang.String triggerGroupPrefix) throws java.lang.Exception
triggerGroupPrefix
-
java.lang.Exception
void resumeTriggersEndingWith(java.lang.String triggerGroupSuffix) throws java.lang.Exception
triggerGroupSuffix
-
java.lang.Exception
void resumeTriggersContaining(java.lang.String triggerGroupToken) throws java.lang.Exception
triggerGroupToken
-
java.lang.Exception
void pauseTrigger(java.lang.String triggerName, java.lang.String triggerGroupName) throws java.lang.Exception
java.lang.Exception
void resumeTrigger(java.lang.String triggerName, java.lang.String triggerGroupName) throws java.lang.Exception
java.lang.Exception
java.util.List<java.lang.String> getCalendarNames() throws java.lang.Exception
java.lang.Exception
void deleteCalendar(java.lang.String name) throws java.lang.Exception
java.lang.Exception
void setSampledStatisticsEnabled(boolean enabled)
boolean isSampledStatisticsEnabled()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |