Modifier and Type | Method and Description |
---|---|
ScheduledJobKey |
ClusterDisableJobEvent.getScheduledJobKey() |
ScheduledJobKey |
ClusterUpdateCronJobScheduleEvent.getScheduledJobKey() |
ScheduledJobKey |
ClusterUpdateSimpleJobScheduleEvent.getScheduledJobKey() |
ScheduledJobKey |
ClusterEnableJobEvent.getScheduledJobKey() |
Constructor and Description |
---|
ClusterDisableJobEvent(Object src,
ScheduledJobKey scheduledJobKey) |
ClusterEnableJobEvent(Object src,
ScheduledJobKey scheduledJobKey) |
ClusterUpdateCronJobScheduleEvent(Object src,
ScheduledJobKey scheduledJobKey,
String newCronSchedule) |
ClusterUpdateSimpleJobScheduleEvent(Object src,
ScheduledJobKey scheduledJobKey,
long newRepeatInterval) |
Modifier and Type | Method and Description |
---|---|
List<SchedulerRunDetails> |
InternalRunDetailsDao.getRecentRunDetails(ScheduledJobKey key) |
List<SchedulerRunDetails> |
HibernateInternalRunDetailsDao.getRecentRunDetails(ScheduledJobKey key) |
List<SchedulerRunDetails> |
InternalRunDetailsDao.getRecentRunDetails(ScheduledJobKey key,
int limit) |
List<SchedulerRunDetails> |
HibernateInternalRunDetailsDao.getRecentRunDetails(ScheduledJobKey key,
int limit) |
Modifier and Type | Field and Description |
---|---|
static ScheduledJobKey |
PluginJob.DAILY_EMAIL_JOB |
static ScheduledJobKey |
StandardConfluenceJob.DAILY_REPORT |
static ScheduledJobKey |
PluginJob.FLUSH_EDGE_INDEX_JOB |
static ScheduledJobKey |
StandardConfluenceJob.FLUSH_ES_INDEX_QUEUE |
static ScheduledJobKey |
StandardConfluenceJob.FLUSH_INDEX_QUEUE |
static ScheduledJobKey |
StandardConfluenceJob.FLUSH_MAIL_QUEUE |
static ScheduledJobKey |
StandardConfluenceJob.FLUSH_REFERRAL_QUEUE |
static ScheduledJobKey |
StandardConfluenceJob.POLL_MAIL
The job that fetches mail from the server for email archiving in a space.
|
static ScheduledJobKey |
PluginJob.SCHEDULER_RUN_DETAILS_PURGE_JOB |
Modifier and Type | Method and Description |
---|---|
void |
ConfluenceRpc.addJobs(ScheduledJobKey job,
com.atlassian.scheduler.status.RunOutcome runOutcome,
Integer days,
Integer total)
Deprecated.
Add job run details that has been stored for more than the time threshold in days.
|
long |
ConfluenceRpc.countJobRunDetails(ScheduledJobKey jobKey,
com.atlassian.scheduler.status.RunOutcome runOutcome)
Deprecated.
Count job run details
|
void |
ConfluenceRpc.pauseJob(ScheduledJobKey job)
Deprecated.
|
void |
ConfluenceRpc.resumeJob(ScheduledJobKey job)
Deprecated.
|
void |
ConfluenceRpc.runJob(ScheduledJobKey job)
Deprecated.
Triggers a job on the server.
|
Modifier and Type | Method and Description |
---|---|
void |
SchedulerRpc.addJobs(ScheduledJobKey job,
com.atlassian.scheduler.status.RunOutcome runOutcome,
Integer days,
Integer total) |
long |
SchedulerRpc.countJobRunDetails(ScheduledJobKey jobKey,
com.atlassian.scheduler.status.RunOutcome runOutcome) |
void |
SchedulerRpc.pauseJob(ScheduledJobKey job) |
void |
SchedulerRpc.resumeJob(ScheduledJobKey job) |
void |
SchedulerRpc.triggerJob(ScheduledJobKey job) |
void |
SchedulerRpc.triggerJob(ScheduledJobKey job,
boolean pauseBackgroundJobs) |
Modifier and Type | Method and Description |
---|---|
String |
ViewScheduledJobsAction.getCronExpression(ScheduledJobKey key) |
ManagedScheduledCronJob |
ViewScheduledJobsAction.getManagedScheduledCronJob(ScheduledJobKey key) |
ManagedScheduledJob |
ViewScheduledJobsAction.getManagedScheduledJob(ScheduledJobKey key) |
<T extends ManagedScheduledJob> |
ViewScheduledJobsAction.getManagedScheduledJob(ScheduledJobKey key,
Class<T> type) |
ManagedScheduledSimpleJob |
ViewScheduledJobsAction.getManagedScheduledSimpleJob(ScheduledJobKey key) |
Long |
ViewScheduledJobsAction.getRepeatInterval(ScheduledJobKey key) |
Modifier and Type | Field and Description |
---|---|
static ScheduledJobKey |
ScheduleUtil.BACKUP_JOB_KEY |
Modifier and Type | Method and Description |
---|---|
ScheduledJobKey |
ScheduledJobStatus.getKey() |
ScheduledJobKey |
ManagedScheduledJob.getScheduledJobKey()
Returns
valueOf(JobDetail) when ManagedScheduledJob.getJobDetail()
returns non-null, or valueOf(JobId) when ScheduledJob.getJobConfig()
returns non-null. |
ScheduledJobKey |
AbstractManagedScheduledJob.getScheduledJobKey() |
static ScheduledJobKey |
ScheduledJobKey.valueOf(org.quartz.JobDetail jobDetail) |
static ScheduledJobKey |
ScheduledJobKey.valueOf(com.atlassian.scheduler.config.JobId jobId) |
Constructor and Description |
---|
ScheduledJobStatus(ScheduledJobKey scheduledJobKey,
List<ScheduledJobHistory> existingHistory) |
Modifier and Type | Method and Description |
---|---|
void |
AuditService.auditAction(ScheduledJobKey jobKey,
String action)
Audits an action to a job such as run, enable, disable.
|
void |
DefaultAuditService.auditAction(ScheduledJobKey jobKey,
String action) |
void |
AuditService.auditCronJobScheduleChange(ScheduledJobKey jobKey,
String oldValue,
String newValue)
Audits a schedule change to a cron job.
|
void |
DefaultAuditService.auditCronJobScheduleChange(ScheduledJobKey jobKey,
String oldValue,
String newValue) |
void |
AuditService.auditSimpleJobScheduleChange(ScheduledJobKey jobKey,
Long oldValue,
Long newValue)
Audits a schedule change to a simple job.
|
void |
DefaultAuditService.auditSimpleJobScheduleChange(ScheduledJobKey jobKey,
Long oldValue,
Long newValue) |
Modifier and Type | Method and Description |
---|---|
ScheduledJobKey |
ResumeJobEvent.getScheduledJobKey() |
ScheduledJobKey |
PauseJobEvent.getScheduledJobKey() |
ScheduledJobKey |
TriggerJobEvent.getScheduledJobKey() |
Constructor and Description |
---|
PauseJobEvent(Object src,
ScheduledJobKey scheduledJobKey) |
ResumeJobEvent(Object src,
ScheduledJobKey scheduledJobKey) |
TriggerJobEvent(Object src,
ScheduledJobKey scheduledJobKey,
boolean pauseBackgroundJobs) |
Modifier and Type | Method and Description |
---|---|
static ScheduledJobKey |
DefaultScheduledJobManager.jobIdToScheduledJobKeyWithoutRunNowSuffix(com.atlassian.scheduler.config.JobId jobId)
See the implementation of
DefaultScheduledJobManager.runNow(com.atlassian.confluence.schedule.ScheduledJobKey) . |
Modifier and Type | Method and Description |
---|---|
void |
ScheduledJobManager.disable(ScheduledJobKey key)
Disables the specified job, and removes it from the scheduler.
|
void |
DefaultScheduledJobManager.disable(ScheduledJobKey key) |
void |
DefaultScheduledJobManager.disableJob(ScheduledJobKey key) |
void |
ScheduledJobManager.enable(ScheduledJobKey key)
Enables the specified job, and adds it to the scheduler.
|
void |
DefaultScheduledJobManager.enable(ScheduledJobKey key) |
void |
DefaultScheduledJobManager.enableJob(ScheduledJobKey key) |
String |
ScheduledJobManager.getCronExpression(ScheduledJobKey key)
Gets the currently configured cron expression, or the default value if none has been configured.
|
String |
DefaultScheduledJobManager.getCronExpression(ScheduledJobKey key) |
ManagedScheduledJob |
ManagedScheduledJobRegistry.getManagedScheduledJob(ScheduledJobKey key)
Returns a specific registered job in the system.
|
ManagedScheduledJob |
DefaultManagedScheduledJobRegistry.getManagedScheduledJob(ScheduledJobKey key) |
Long |
ScheduledJobManager.getRepeatInterval(ScheduledJobKey key)
Gets the currently configured repeat interval, or the default value if none has been configured.
|
Long |
DefaultScheduledJobManager.getRepeatInterval(ScheduledJobKey key) |
ScheduledJobStatus |
ScheduledJobManager.getScheduledJob(ScheduledJobKey key)
Gets the current status for a single scheduled job.
|
ScheduledJobStatus |
DefaultScheduledJobManager.getScheduledJob(ScheduledJobKey key) |
boolean |
ManagedScheduledJobRegistry.isManaged(ScheduledJobKey key)
Checks if the specified job is being managed.
|
boolean |
DefaultManagedScheduledJobRegistry.isManaged(ScheduledJobKey key) |
void |
ScheduledJobManager.runNow(ScheduledJobKey key)
Schedules the specified to run immediately.
|
void |
DefaultScheduledJobManager.runNow(ScheduledJobKey key) |
static com.atlassian.scheduler.config.JobId |
DefaultScheduledJobManager.scheduledJobKeyToJobIdWithRunNowSuffix(ScheduledJobKey scheduledJobKey)
See the implementation of
DefaultScheduledJobManager.runNow(com.atlassian.confluence.schedule.ScheduledJobKey) . |
Date |
ScheduledJobManager.updateCronJobSchedule(ScheduledJobKey key,
String newCronSchedule)
Updates stored schedule.
|
Date |
DefaultScheduledJobManager.updateCronJobSchedule(ScheduledJobKey key,
String newCronSchedule) |
Date |
DefaultScheduledJobManager.updateCronSchedule(ScheduledJobKey key,
String newCronSchedule) |
void |
DefaultScheduledJobManager.updateDisabledJobExecutionStatus(ScheduledJobKey key,
ScheduledJobStatus jobStatus) |
void |
DefaultScheduledJobManager.updateEnabledJobExecutionStatus(ScheduledJobKey key,
ScheduledJobStatus jobStatus) |
Date |
ScheduledJobManager.updateSimpleJobSchedule(ScheduledJobKey key,
long repeatInterval)
Updates stored schedule.
|
Date |
DefaultScheduledJobManager.updateSimpleJobSchedule(ScheduledJobKey key,
long repeatInterval) |
Date |
DefaultScheduledJobManager.updateSimpleSchedule(ScheduledJobKey key,
long repeatInterval) |
Modifier and Type | Method and Description |
---|---|
void |
ClusterSafeScheduledJobDao.addHistory(ScheduledJobKey key,
ScheduledJobHistory history,
Date nextOccurrence) |
void |
ScheduledJobDao.addHistory(ScheduledJobKey key,
ScheduledJobHistory history,
Date nextOccurrence)
Adds to an event to the history to the cache, and updates the nextOccurrence in the ScheduledJobStatus.
|
void |
CachedScheduledJobDao.addHistory(ScheduledJobKey key,
ScheduledJobHistory history,
Date nextOccurrence) |
ScheduledJobStatus |
ScheduledJobStatusCache.get(ScheduledJobKey key) |
ScheduledJobConfiguration |
ClusterSafeScheduledJobDao.getScheduledJobConfiguration(ScheduledJobKey key) |
ScheduledJobConfiguration |
ScheduledJobDao.getScheduledJobConfiguration(ScheduledJobKey key)
Gets the job configuration for the specified job.
|
ScheduledJobConfiguration |
CachedScheduledJobDao.getScheduledJobConfiguration(ScheduledJobKey key) |
ScheduledJobStatus |
ClusterSafeScheduledJobDao.getScheduledJobStatus(ScheduledJobKey key) |
ScheduledJobStatus |
ScheduledJobDao.getScheduledJobStatus(ScheduledJobKey key)
Gets the specified job's status.
|
ScheduledJobStatus |
CachedScheduledJobDao.getScheduledJobStatus(ScheduledJobKey key) |
void |
ScheduledJobStatusCache.put(ScheduledJobKey key,
ScheduledJobStatus status) |
void |
ClusterSafeScheduledJobDao.saveScheduledJobConfiguration(ScheduledJobKey key,
ScheduledJobConfiguration job) |
void |
ScheduledJobDao.saveScheduledJobConfiguration(ScheduledJobKey key,
ScheduledJobConfiguration jobConfiguration)
Stores the job configuration.
|
void |
CachedScheduledJobDao.saveScheduledJobConfiguration(ScheduledJobKey key,
ScheduledJobConfiguration job) |
void |
ClusterSafeScheduledJobDao.saveScheduledJobStatus(ScheduledJobKey key,
ScheduledJobStatus status) |
void |
ScheduledJobDao.saveScheduledJobStatus(ScheduledJobKey key,
ScheduledJobStatus status)
Stores the status for the specified job.
|
void |
CachedScheduledJobDao.saveScheduledJobStatus(ScheduledJobKey key,
ScheduledJobStatus status) |
void |
ClusterSafeScheduledJobDao.updateNextOccurence(ScheduledJobKey key,
Date nextOccurence) |
void |
ScheduledJobDao.updateNextOccurence(ScheduledJobKey key,
Date nextOccurence)
Updates the nextOccurence in the ScheduledJobStatus.
|
void |
CachedScheduledJobDao.updateNextOccurence(ScheduledJobKey key,
Date nextOccurence) |
void |
ClusterSafeScheduledJobDao.updateStatus(ScheduledJobKey key,
ExecutionStatus status) |
void |
ScheduledJobDao.updateStatus(ScheduledJobKey key,
ExecutionStatus status)
Updates the status in the corresponding ScheduledJobStatus for the job.
|
void |
CachedScheduledJobDao.updateStatus(ScheduledJobKey key,
ExecutionStatus status) |
Copyright © 2003–2017 Atlassian. All rights reserved.