org.quartz.core.jmx
Interface QuartzSchedulerMBean
- All Known Implementing Classes:
- QuartzSchedulerMBeanImpl
public interface QuartzSchedulerMBean
Method Summary |
void |
addJob(java.lang.String instanceId,
javax.management.openmbean.CompositeData jobDetail,
boolean replace)
|
void |
deleteCalendar(java.lang.String instanceId,
java.lang.String name)
|
boolean |
deleteJob(java.lang.String instanceId,
java.lang.String jobName,
java.lang.String jobGroupName)
|
javax.management.openmbean.TabularData |
getAllJobDetails(java.lang.String instanceId)
|
javax.management.openmbean.TabularData |
getAllTriggers(java.lang.String instanceId)
|
java.lang.String[] |
getCalendarNames(java.lang.String instanceId)
|
javax.management.openmbean.TabularData |
getCurrentlyExecutingJobs()
|
javax.management.openmbean.CompositeData |
getJobDetail(java.lang.String instanceId,
java.lang.String jobName,
java.lang.String jobGroupName)
|
java.lang.String[] |
getJobGroupNames(java.lang.String instanceId)
|
java.lang.String[] |
getJobNames(java.lang.String instanceId,
java.lang.String groupName)
|
long |
getJobsCompletedMostRecentSample()
|
long |
getJobsExecutedMostRecentSample()
|
long |
getJobsScheduledMostRecentSample()
|
java.lang.String |
getJobStoreClassName()
|
java.util.Set<java.lang.String> |
getPausedTriggerGroups(java.lang.String instanceId)
|
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 instanceId,
java.lang.String triggerName,
java.lang.String triggerGroupName)
|
java.lang.String[] |
getTriggerGroupNames(java.lang.String instanceId)
|
java.lang.String[] |
getTriggerNames(java.lang.String instanceId,
java.lang.String triggerGroupName)
|
javax.management.openmbean.TabularData |
getTriggersOfJob(java.lang.String instanceId,
java.lang.String jobName,
java.lang.String jobGroupName)
|
int |
getTriggerState(java.lang.String instanceId,
java.lang.String triggerName,
java.lang.String triggerGroupName)
|
java.lang.String |
getVersion()
|
boolean |
interruptJob(java.lang.String instanceId,
java.lang.String jobName,
java.lang.String jobGroupName)
|
boolean |
isSampledStatisticsEnabled()
|
boolean |
isShutdown()
|
boolean |
isStandbyMode()
|
boolean |
isStarted()
|
void |
pauseAllTriggers(java.lang.String instanceId)
|
void |
pauseJob(java.lang.String instanceId,
java.lang.String jobName,
java.lang.String groupName)
|
void |
pauseJobGroup(java.lang.String instanceId,
java.lang.String jobGroupName)
|
void |
pauseTrigger(java.lang.String instanceId,
java.lang.String triggerName,
java.lang.String triggerGroupName)
|
void |
pauseTriggerGroup(java.lang.String instanceId,
java.lang.String groupName)
|
void |
resumeAllTriggers(java.lang.String instanceId)
|
void |
resumeJob(java.lang.String instanceId,
java.lang.String jobName,
java.lang.String jobGroupName)
|
void |
resumeJobGroup(java.lang.String instanceId,
java.lang.String jobGroupName)
|
void |
resumeTrigger(java.lang.String instanceId,
java.lang.String triggerName,
java.lang.String triggerGroupName)
|
void |
resumeTriggerGroup(java.lang.String instanceId,
java.lang.String groupName)
|
java.util.Date |
scheduleJob(java.lang.String instanceId,
java.lang.String jobName,
java.lang.String jobGroup,
java.lang.String triggerName,
java.lang.String triggerGroup)
|
void |
setSampledStatisticsEnabled(boolean enabled)
|
void |
shutdown()
|
void |
standby()
|
void |
start()
|
void |
triggerJob(java.lang.String instanceId,
java.lang.String jobName,
java.lang.String jobGroupName,
java.util.Map<java.lang.String,java.lang.String> jobDataMap)
|
void |
triggerJobWithVolatileTrigger(java.lang.String instanceId,
java.lang.String jobName,
java.lang.String jobGroupName,
java.util.Map<java.lang.String,java.lang.String> jobDataMap)
|
boolean |
unscheduleJob(java.lang.String instanceId,
java.lang.String triggerName,
java.lang.String triggerGroup)
|
SCHEDULER_STARTED
static final java.lang.String SCHEDULER_STARTED
- See Also:
- Constant Field Values
SCHEDULER_PAUSED
static final java.lang.String SCHEDULER_PAUSED
- See Also:
- Constant Field Values
SCHEDULER_SHUTDOWN
static final java.lang.String SCHEDULER_SHUTDOWN
- See Also:
- Constant Field Values
SCHEDULER_ERROR
static final java.lang.String SCHEDULER_ERROR
- See Also:
- Constant Field Values
JOB_ADDED
static final java.lang.String JOB_ADDED
- See Also:
- Constant Field Values
JOB_DELETED
static final java.lang.String JOB_DELETED
- See Also:
- Constant Field Values
JOB_SCHEDULED
static final java.lang.String JOB_SCHEDULED
- See Also:
- Constant Field Values
JOB_UNSCHEDULED
static final java.lang.String JOB_UNSCHEDULED
- See Also:
- Constant Field Values
JOBS_PAUSED
static final java.lang.String JOBS_PAUSED
- See Also:
- Constant Field Values
JOBS_RESUMED
static final java.lang.String JOBS_RESUMED
- See Also:
- Constant Field Values
JOB_EXECUTION_VETOED
static final java.lang.String JOB_EXECUTION_VETOED
- See Also:
- Constant Field Values
JOB_TO_BE_EXECUTED
static final java.lang.String JOB_TO_BE_EXECUTED
- See Also:
- Constant Field Values
JOB_WAS_EXECUTED
static final java.lang.String JOB_WAS_EXECUTED
- See Also:
- Constant Field Values
TRIGGER_FINALIZED
static final java.lang.String TRIGGER_FINALIZED
- See Also:
- Constant Field Values
TRIGGERS_PAUSED
static final java.lang.String TRIGGERS_PAUSED
- See Also:
- Constant Field Values
TRIGGERS_RESUMED
static final java.lang.String TRIGGERS_RESUMED
- See Also:
- Constant Field Values
SAMPLED_STATISTICS_ENABLED
static final java.lang.String SAMPLED_STATISTICS_ENABLED
- See Also:
- Constant Field Values
SAMPLED_STATISTICS_RESET
static final java.lang.String SAMPLED_STATISTICS_RESET
- See Also:
- Constant Field Values
getSchedulerName
java.lang.String getSchedulerName()
getSchedulerInstanceId
java.lang.String getSchedulerInstanceId()
isStandbyMode
boolean isStandbyMode()
isShutdown
boolean isShutdown()
getVersion
java.lang.String getVersion()
getJobStoreClassName
java.lang.String getJobStoreClassName()
getThreadPoolClassName
java.lang.String getThreadPoolClassName()
getThreadPoolSize
int getThreadPoolSize()
getJobsScheduledMostRecentSample
long getJobsScheduledMostRecentSample()
getJobsExecutedMostRecentSample
long getJobsExecutedMostRecentSample()
getJobsCompletedMostRecentSample
long getJobsCompletedMostRecentSample()
getPerformanceMetrics
java.util.Map<java.lang.String,java.lang.Long> getPerformanceMetrics()
getCurrentlyExecutingJobs
javax.management.openmbean.TabularData getCurrentlyExecutingJobs()
throws SchedulerException
- Returns:
- TabularData of CompositeData:JobExecutionContext
- Throws:
SchedulerException
getAllJobDetails
javax.management.openmbean.TabularData getAllJobDetails(java.lang.String instanceId)
throws SchedulerException
- Returns:
- TabularData of CompositeData:JobDetail
- Throws:
SchedulerException
- See Also:
JobDetailSupport
getAllTriggers
javax.management.openmbean.TabularData getAllTriggers(java.lang.String instanceId)
throws SchedulerException
- Returns:
- TabularData of CompositeData:Trigger
- Throws:
SchedulerException
- See Also:
TriggerSupport
getJobGroupNames
java.lang.String[] getJobGroupNames(java.lang.String instanceId)
throws SchedulerException
- Throws:
SchedulerException
getJobNames
java.lang.String[] getJobNames(java.lang.String instanceId,
java.lang.String groupName)
throws SchedulerException
- Throws:
SchedulerException
getJobDetail
javax.management.openmbean.CompositeData getJobDetail(java.lang.String instanceId,
java.lang.String jobName,
java.lang.String jobGroupName)
throws SchedulerException
- Returns:
- CompositeData:JobDetail
- Throws:
SchedulerException
- See Also:
JobDetailSupport
isStarted
boolean isStarted()
start
void start()
throws SchedulerException
- Throws:
SchedulerException
shutdown
void shutdown()
standby
void standby()
scheduleJob
java.util.Date scheduleJob(java.lang.String instanceId,
java.lang.String jobName,
java.lang.String jobGroup,
java.lang.String triggerName,
java.lang.String triggerGroup)
throws SchedulerException
- Throws:
SchedulerException
unscheduleJob
boolean unscheduleJob(java.lang.String instanceId,
java.lang.String triggerName,
java.lang.String triggerGroup)
throws SchedulerException
- Throws:
SchedulerException
interruptJob
boolean interruptJob(java.lang.String instanceId,
java.lang.String jobName,
java.lang.String jobGroupName)
throws UnableToInterruptJobException
- Throws:
UnableToInterruptJobException
triggerJob
void triggerJob(java.lang.String instanceId,
java.lang.String jobName,
java.lang.String jobGroupName,
java.util.Map<java.lang.String,java.lang.String> jobDataMap)
throws SchedulerException
- Throws:
SchedulerException
triggerJobWithVolatileTrigger
void triggerJobWithVolatileTrigger(java.lang.String instanceId,
java.lang.String jobName,
java.lang.String jobGroupName,
java.util.Map<java.lang.String,java.lang.String> jobDataMap)
throws SchedulerException
- Throws:
SchedulerException
deleteJob
boolean deleteJob(java.lang.String instanceId,
java.lang.String jobName,
java.lang.String jobGroupName)
throws SchedulerException
- Throws:
SchedulerException
addJob
void addJob(java.lang.String instanceId,
javax.management.openmbean.CompositeData jobDetail,
boolean replace)
throws SchedulerException
- Throws:
SchedulerException
pauseJobGroup
void pauseJobGroup(java.lang.String instanceId,
java.lang.String jobGroupName)
throws SchedulerException
- Throws:
SchedulerException
resumeJobGroup
void resumeJobGroup(java.lang.String instanceId,
java.lang.String jobGroupName)
throws SchedulerException
- Throws:
SchedulerException
pauseJob
void pauseJob(java.lang.String instanceId,
java.lang.String jobName,
java.lang.String groupName)
throws SchedulerException
- Throws:
SchedulerException
resumeJob
void resumeJob(java.lang.String instanceId,
java.lang.String jobName,
java.lang.String jobGroupName)
throws SchedulerException
- Throws:
SchedulerException
getTriggerGroupNames
java.lang.String[] getTriggerGroupNames(java.lang.String instanceId)
throws SchedulerException
- Throws:
SchedulerException
getTriggerNames
java.lang.String[] getTriggerNames(java.lang.String instanceId,
java.lang.String triggerGroupName)
throws SchedulerException
- Throws:
SchedulerException
getTrigger
javax.management.openmbean.CompositeData getTrigger(java.lang.String instanceId,
java.lang.String triggerName,
java.lang.String triggerGroupName)
throws SchedulerException
- Throws:
SchedulerException
getTriggerState
int getTriggerState(java.lang.String instanceId,
java.lang.String triggerName,
java.lang.String triggerGroupName)
throws SchedulerException
- Throws:
SchedulerException
getTriggersOfJob
javax.management.openmbean.TabularData getTriggersOfJob(java.lang.String instanceId,
java.lang.String jobName,
java.lang.String jobGroupName)
throws SchedulerException
- Throws:
SchedulerException
getPausedTriggerGroups
java.util.Set<java.lang.String> getPausedTriggerGroups(java.lang.String instanceId)
throws SchedulerException
- Throws:
SchedulerException
pauseAllTriggers
void pauseAllTriggers(java.lang.String instanceId)
throws SchedulerException
- Throws:
SchedulerException
resumeAllTriggers
void resumeAllTriggers(java.lang.String instanceId)
throws SchedulerException
- Throws:
SchedulerException
pauseTriggerGroup
void pauseTriggerGroup(java.lang.String instanceId,
java.lang.String groupName)
throws SchedulerException
- Throws:
SchedulerException
resumeTriggerGroup
void resumeTriggerGroup(java.lang.String instanceId,
java.lang.String groupName)
throws SchedulerException
- Throws:
SchedulerException
pauseTrigger
void pauseTrigger(java.lang.String instanceId,
java.lang.String triggerName,
java.lang.String triggerGroupName)
throws SchedulerException
- Throws:
SchedulerException
resumeTrigger
void resumeTrigger(java.lang.String instanceId,
java.lang.String triggerName,
java.lang.String triggerGroupName)
throws SchedulerException
- Throws:
SchedulerException
getCalendarNames
java.lang.String[] getCalendarNames(java.lang.String instanceId)
throws SchedulerException
- Throws:
SchedulerException
deleteCalendar
void deleteCalendar(java.lang.String instanceId,
java.lang.String name)
throws SchedulerException
- Throws:
SchedulerException
setSampledStatisticsEnabled
void setSampledStatisticsEnabled(boolean enabled)
isSampledStatisticsEnabled
boolean isSampledStatisticsEnabled()
Copyright 2001-2019, Terracotta, Inc.