@Service(value="blMasterPurgeWorker") public class MasterPurgeWorkerImpl extends AbstractConsumerWorker
ScheduledJobManager
Modifier and Type | Field and Description |
---|---|
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 |
---|
MasterPurgeWorkerImpl() |
Modifier and Type | Method and Description |
---|---|
void |
execute(org.quartz.JobExecutionContext jobExecutionContext) |
void |
init() |
protected boolean |
isNodeStateWithinTolerance(NodeRegistration node) |
protected void |
manageMasterNode(Long[] masterUpdatedTime) |
protected void |
manageRegisteredNodes(Long masterUpdatedTime) |
populateSystemEvents
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 manageRegisteredNodes(Long masterUpdatedTime)
protected void manageMasterNode(Long[] masterUpdatedTime)
protected boolean isNodeStateWithinTolerance(NodeRegistration node)
Copyright © 2019. All rights reserved.