@Component(value="blMasterPurgeWorker") @Scope(value="prototype") @Lazy public class MasterPurgeWorkerImpl extends AbstractConsumerWorker implements ScheduledJobManagerAware
ScheduledJobManager
Modifier and Type | Field and Description |
---|---|
protected IncognitoEnvironmentDetector |
detector |
protected ScheduledJobManager |
jobManager |
protected DatabaseSystemEventDao |
systemEventDao |
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) |
void |
setScheduledJobManager(ScheduledJobManager scheduledJobManager) |
populateSystemEvents
protected ScheduledJobManager jobManager
protected org.broadleafcommerce.common.util.StreamingTransactionCapableUtil transUtil
protected org.springframework.transaction.PlatformTransactionManager transactionManager
protected DatabaseSystemEventDao systemEventDao
protected IncognitoEnvironmentDetector detector
@PostConstruct public void init()
public void execute(org.quartz.JobExecutionContext jobExecutionContext)
execute
in interface ConsumeWorker
public void setScheduledJobManager(ScheduledJobManager scheduledJobManager)
setScheduledJobManager
in interface ScheduledJobManagerAware
protected void manageRegisteredNodes(Long masterUpdatedTime)
protected void manageMasterNode(Long[] masterUpdatedTime)
protected boolean isNodeStateWithinTolerance(NodeRegistration node)
Copyright © 2017. All rights reserved.