public class LockingJobScheduler extends QuartzJobScheduler
LockingJob.
Only one repository node in a cluster will collect data for collectors with this type of job.hbDataSenderService, scheduler, testCronExpression, testMode| Constructor and Description |
|---|
LockingJobScheduler() |
| Modifier and Type | Method and Description |
|---|---|
protected Class<? extends org.quartz.Job> |
getHeartBeatJobClass()
Jobs scheduled by the scheduler will use the returned implementation of
Job. |
protected org.quartz.JobDataMap |
getJobDetailMap(HBBaseDataCollector collector)
This method is called when a job is being scheduled by this scheduler for the given collector.
|
void |
setJobLockService(JobLockService jobLockService) |
getJobName, getTriggerName, scheduleJob, setHbDataSenderService, setScheduler, setTestMode, unscheduleJobpublic void setJobLockService(JobLockService jobLockService)
protected org.quartz.JobDataMap getJobDetailMap(HBBaseDataCollector collector)
QuartzJobSchedulerJob returned from QuartzJobScheduler.getHeartBeatJobClass()
and the job map returned from this method, therefor the job map should provide what the job needs to execute.getJobDetailMap in class QuartzJobSchedulercollector - The collector whose job is being scheduled.JobDetail for the job that is being scheduled.protected Class<? extends org.quartz.Job> getHeartBeatJobClass()
QuartzJobSchedulerJob. JobDataMap returned from QuartzJobScheduler.getJobDetailMap(HBBaseDataCollector) getHeartBeatJobClass in class QuartzJobSchedulerJob implementation which this scheduler will use to schedule jobs for heartbeat collectors.Copyright © 2005–2018 Alfresco Software. All rights reserved.