@Component(value="blMasterHeartBeatWorker") @Scope(value="prototype") @Lazy public class MasterHeartBeatWorkerImpl extends AbstractConsumerWorker implements ScheduledJobManagerAware
ScheduledJob
instances and will manage the local Quartz configuration
accordingly.Modifier and Type | Field and Description |
---|---|
protected IncognitoEnvironmentDetector |
detector |
protected ScheduledJobManager |
jobManager |
static String |
NODENAME |
protected DatabaseSystemEventDao |
systemEventDao |
protected List<ScheduledJobThreadInitializer> |
threadInitializers |
protected org.broadleafcommerce.common.util.StreamingTransactionCapableUtil |
transUtil |
Constructor and Description |
---|
MasterHeartBeatWorkerImpl() |
Modifier and Type | Method and Description |
---|---|
void |
execute(org.quartz.JobExecutionContext jobExecutionContext) |
protected void |
manageJobs(org.quartz.Scheduler scheduler,
DatabaseSystemEventDao systemEventDao,
List<ScheduledJobThreadInitializer> threadInitializers) |
void |
setScheduledJobManager(ScheduledJobManager scheduledJobManager) |
populateSystemEvents
public static final String NODENAME
protected ScheduledJobManager jobManager
protected org.broadleafcommerce.common.util.StreamingTransactionCapableUtil transUtil
protected DatabaseSystemEventDao systemEventDao
protected List<ScheduledJobThreadInitializer> threadInitializers
protected IncognitoEnvironmentDetector detector
public void execute(org.quartz.JobExecutionContext jobExecutionContext)
execute
in interface ConsumeWorker
public void setScheduledJobManager(ScheduledJobManager scheduledJobManager)
setScheduledJobManager
in interface ScheduledJobManagerAware
protected void manageJobs(org.quartz.Scheduler scheduler, DatabaseSystemEventDao systemEventDao, List<ScheduledJobThreadInitializer> threadInitializers)
Copyright © 2020. All rights reserved.