@Service(value="blMasterHearBeatWorker") public class MasterHeartBeatWorkerImpl extends AbstractConsumerWorker
ScheduledJob
instances and will manage the local Quartz configuration
accordingly.Modifier and Type | Class and Description |
---|---|
static class |
MasterHeartBeatWorkerImpl.IntervalJob |
Modifier and Type | Field and Description |
---|---|
protected DatabaseSystemEventNode |
eventNode |
protected ScheduledJobManager |
jobManager |
protected DatabaseSystemEventDao |
systemEventDao |
protected List<ScheduledJobThreadInitializer> |
threadInitializers |
protected org.springframework.transaction.PlatformTransactionManager |
transactionManager |
protected org.broadleafcommerce.common.util.StreamingTransactionCapableUtil |
transUtil |
Constructor and Description |
---|
MasterHeartBeatWorkerImpl() |
Modifier and Type | Method and Description |
---|---|
void |
execute(org.quartz.JobExecutionContext jobExecutionContext) |
void |
init() |
protected void |
manageJobs(org.quartz.Scheduler scheduler,
DatabaseSystemEventDao systemEventDao,
List<ScheduledJobThreadInitializer> threadInitializers) |
populateSystemEvents
protected DatabaseSystemEventNode eventNode
protected ScheduledJobManager jobManager
protected org.broadleafcommerce.common.util.StreamingTransactionCapableUtil transUtil
protected org.springframework.transaction.PlatformTransactionManager transactionManager
protected DatabaseSystemEventDao systemEventDao
protected List<ScheduledJobThreadInitializer> threadInitializers
@PostConstruct public void init()
public void execute(org.quartz.JobExecutionContext jobExecutionContext)
protected void manageJobs(org.quartz.Scheduler scheduler, DatabaseSystemEventDao systemEventDao, List<ScheduledJobThreadInitializer> threadInitializers)
Copyright © 2019. All rights reserved.