| Modifier and Type | Method and Description |
|---|---|
void |
PlatformJobListenerManager.registerListener(List<AbstractBonitaPlatformJobListener> jobListeners)
Register
AbstractBonitaPlatformJobListeners |
void |
TenantJobListenerManager.registerListeners(List<AbstractBonitaTenantJobListener> listeners,
long tenantId)
Register
AbstractBonitaTenantJobListeners for the given tenant |
| Modifier and Type | Method and Description |
|---|---|
void |
SchedulerService.addJobListener(List<AbstractBonitaPlatformJobListener> jobListeners)
Add the given
to the Scheduler, and register it to receive events for all Jobs. |
void |
SchedulerExecutor.addJobListener(List<AbstractBonitaPlatformJobListener> jobListeners)
Add the given
to the Scheduler, and register it to receive events for all Jobs. |
void |
SchedulerService.addJobListener(List<AbstractBonitaTenantJobListener> jobListeners,
String groupName)
Add the given
to the Scheduler,
and register it to receive events for Jobs that are matched by the group name. |
void |
SchedulerExecutor.addJobListener(List<AbstractBonitaTenantJobListener> jobListeners,
String groupName)
Add the given
to the Scheduler, and register it to receive events for Jobs that are
matched by the group name. |
boolean |
SchedulerService.delete(String jobName)
Deletes a job according to its name.
|
boolean |
SchedulerExecutor.delete(String jobName,
String groupName) |
void |
SchedulerService.deleteJobs()
Deletes all jobs.
|
void |
SchedulerExecutor.deleteJobs(String groupName) |
void |
SchedulerService.executeAgain(long jobDescriptorId) |
void |
SchedulerService.executeAgain(long jobDescriptorId,
List<SJobParameter> parameters)
Schedules a job.
|
void |
SchedulerExecutor.executeAgain(long jobId,
String groupName,
String jobName,
boolean disallowConcurrentExecution) |
void |
SchedulerExecutor.executeNow(long jobId,
String groupName,
String jobName,
boolean disallowConcurrentExecution) |
void |
SchedulerService.executeNow(SJobDescriptor jobDescriptor,
List<SJobParameter> parameters)
execute a job.
|
List<String> |
SchedulerService.getAllJobs()
Get all jobs on all tenants
\/!\Must be replaced by a platform scheduler/!\
|
List<String> |
SchedulerExecutor.getAllJobs() |
List<String> |
SchedulerService.getJobs()
Get all jobs on the current tenant
|
List<String> |
SchedulerExecutor.getJobs(String groupName) |
void |
SchedulerService.initializeScheduler()
Initialize the scheduler if this method has not be previously called (after shutdown); otherwise, do nothing.
|
void |
SchedulerExecutor.initializeScheduler()
Initialize the scheduler if this method has not be previously called (after shutdown); otherwise, do nothing.
|
boolean |
SchedulerService.isExistingJob(String jobName)
Check if a job exists.
|
boolean |
SchedulerExecutor.isExistingJob(String jobName,
String groupName)
Check if a job exists.
|
boolean |
SchedulerExecutor.isShutdown() |
boolean |
SchedulerService.isStarted()
Checks whether the service is started.
|
boolean |
SchedulerExecutor.isStarted() |
boolean |
SchedulerService.isStillScheduled(SJobDescriptor jobDescriptor) |
boolean |
SchedulerExecutor.isStillScheduled(String groupName,
String jobName) |
boolean |
SchedulerService.isStopped()
Checks whether the service is shutdown.
|
void |
SchedulerService.pauseJobs(long tenantId)
Pause all jobs running on the tenant
|
void |
SchedulerExecutor.pauseJobs(String groupName) |
void |
SchedulerService.rescheduleErroneousTriggers() |
void |
SchedulerExecutor.rescheduleErroneousTriggers() |
Date |
SchedulerService.rescheduleJob(String triggerName,
String groupName,
Date triggerStartTime)
Remove (delete) the
Trigger with the
given key, and store the new given one - which must be associated
with the same job (the new trigger must have the job name & group specified)
- however, the new trigger need not have the same name as the old trigger. |
Date |
SchedulerExecutor.rescheduleJob(String triggerName,
String groupName,
Date triggerStartTime)
Remove (delete) the
with the given key, and store the new given one - which must be associated
with the same job (the new trigger must have the job name & group specified)
- however, the new trigger need not have the same name as the old trigger. |
void |
SchedulerService.resumeJobs(long tenantId)
Resume all jobs paused on the tenant
|
void |
SchedulerExecutor.resumeJobs(String groupName) |
void |
SchedulerExecutor.schedule(long jobId,
String groupName,
String jobName,
Trigger trigger,
boolean disallowConcurrentExecution) |
void |
SchedulerService.schedule(SJobDescriptor jobDescriptor,
List<SJobParameter> parameters,
Trigger trigger)
Schedules a job.
|
void |
SchedulerService.schedule(SJobDescriptor jobDescriptor,
Trigger trigger)
Schedules a job.
|
void |
SchedulerExecutor.shutdown()
Note that once a scheduler is shutdown, it cannot be restarted without being re-instantiated.
|
void |
SchedulerExecutor.start()
Note that once a scheduler is shutdown, it cannot be restarted without being re-instantiated.
|
| Modifier and Type | Class and Description |
|---|---|
class |
SJobConfigurationException |
class |
SJobExecutionException |
| Modifier and Type | Class and Description |
|---|---|
class |
SFailedJobReadException |
| Modifier and Type | Class and Description |
|---|---|
class |
SJobDescriptorCreationException |
class |
SJobDescriptorDeletionException |
class |
SJobDescriptorNotFoundException |
class |
SJobDescriptorReadException |
| Modifier and Type | Class and Description |
|---|---|
class |
SJobLogCreationException |
class |
SJobLogDeletionException |
class |
SJobLogNotFoundException |
class |
SJobLogReadException |
class |
SJobLogUpdatingException |
| Modifier and Type | Class and Description |
|---|---|
class |
SJobParameterCreationException |
class |
SJobParameterDeletionException |
class |
SJobParameterNotFoundException |
class |
SJobParameterReadException |
| Modifier and Type | Method and Description |
|---|---|
void |
SchedulerServiceImpl.addJobListener(List<AbstractBonitaPlatformJobListener> jobListeners) |
void |
QuartzSchedulerExecutor.addJobListener(List<AbstractBonitaPlatformJobListener> jobListeners) |
void |
SchedulerServiceImpl.addJobListener(List<AbstractBonitaTenantJobListener> jobListeners,
String groupName) |
void |
QuartzSchedulerExecutor.addJobListener(List<AbstractBonitaTenantJobListener> jobListeners,
String groupName) |
protected void |
QuartzSchedulerExecutor.checkSchedulerState() |
boolean |
SchedulerServiceImpl.delete(String jobName) |
boolean |
QuartzSchedulerExecutor.delete(String jobName,
String groupName) |
void |
SchedulerServiceImpl.deleteJobs() |
void |
QuartzSchedulerExecutor.deleteJobs(String groupName) |
void |
SchedulerServiceImpl.executeAgain(long jobDescriptorId) |
void |
SchedulerServiceImpl.executeAgain(long jobDescriptorId,
List<SJobParameter> parameters) |
void |
QuartzSchedulerExecutor.executeAgain(long jobId,
String groupName,
String jobName,
boolean disallowConcurrentExecution) |
void |
QuartzSchedulerExecutor.executeNow(long jobId,
String groupName,
String jobName,
boolean disallowConcurrentExecution) |
void |
SchedulerServiceImpl.executeNow(SJobDescriptor jobDescriptor,
List<SJobParameter> parameters) |
List<String> |
SchedulerServiceImpl.getAllJobs() |
List<String> |
QuartzSchedulerExecutor.getAllJobs() |
List<String> |
SchedulerServiceImpl.getJobs() |
List<String> |
QuartzSchedulerExecutor.getJobs(String groupName) |
StatelessJob |
SchedulerServiceImpl.getPersistedJob(JobIdentifier jobIdentifier)
get the persisted job from the database It opens a transaction!
|
void |
SchedulerServiceImpl.initializeScheduler() |
void |
QuartzSchedulerExecutor.initializeScheduler() |
boolean |
SchedulerServiceImpl.isExistingJob(String jobName) |
boolean |
QuartzSchedulerExecutor.isExistingJob(String jobName,
String groupName) |
boolean |
QuartzSchedulerExecutor.isShutdown() |
boolean |
SchedulerServiceImpl.isStarted() |
boolean |
QuartzSchedulerExecutor.isStarted() |
boolean |
SchedulerServiceImpl.isStillScheduled(SJobDescriptor jobDescriptor) |
boolean |
QuartzSchedulerExecutor.isStillScheduled(String groupName,
String jobName) |
boolean |
SchedulerServiceImpl.isStopped() |
void |
SchedulerServiceImpl.pauseJobs(long tenantId) |
void |
QuartzSchedulerExecutor.pauseJobs(String groupName) |
void |
SchedulerServiceImpl.rescheduleErroneousTriggers() |
void |
QuartzSchedulerExecutor.rescheduleErroneousTriggers() |
Date |
SchedulerServiceImpl.rescheduleJob(String triggerName,
String groupName,
Date triggerStartTime) |
Date |
QuartzSchedulerExecutor.rescheduleJob(String triggerName,
String groupName,
Date triggerStartTime) |
void |
SchedulerServiceImpl.resumeJobs(long tenantId) |
void |
QuartzSchedulerExecutor.resumeJobs(String groupName) |
void |
QuartzSchedulerExecutor.schedule(long jobId,
String groupName,
String jobName,
Trigger trigger,
boolean disallowConcurrentExecution) |
void |
SchedulerServiceImpl.schedule(SJobDescriptor jobDescriptor,
List<SJobParameter> parameters,
Trigger trigger) |
void |
SchedulerServiceImpl.schedule(SJobDescriptor jobDescriptor,
Trigger trigger) |
void |
QuartzSchedulerExecutor.shutdown() |
void |
SchedulerServiceImpl.start() |
void |
QuartzSchedulerExecutor.start() |
void |
SchedulerServiceImpl.stop() |
Copyright © 2019 Bonitasoft S.A.. All rights reserved.