@Component(value="blDurableConsumeWorker") @Scope(value="prototype") @Lazy public class DurableConsumeWorkerImpl extends AbstractConsumerWorker implements Stoppable, DatabaseSystemEventNodeAware
SystemEvent
instances
for this node. This worker specifically deals with GLOBAL_DURABLE event type.Modifier and Type | Field and Description |
---|---|
protected DatabaseSystemEventNode |
eventNode |
protected DurableEventStatusService |
statusService |
protected DatabaseSystemEventDao |
systemEventDao |
protected QueueStatusThreadPoolTaskExecutor |
taskExecutor |
protected org.springframework.transaction.PlatformTransactionManager |
transactionManager |
protected org.broadleafcommerce.common.util.StreamingTransactionCapableUtil |
transUtil |
Constructor and Description |
---|
DurableConsumeWorkerImpl() |
Modifier and Type | Method and Description |
---|---|
protected void |
constructTaskExecutor() |
void |
execute(org.quartz.JobExecutionContext jobExecutionContext) |
void |
init() |
void |
setDatabaseSystemEventNode(DatabaseSystemEventNode node) |
void |
stop() |
populateSystemEvents
protected DatabaseSystemEventNode eventNode
protected org.broadleafcommerce.common.util.StreamingTransactionCapableUtil transUtil
protected org.springframework.transaction.PlatformTransactionManager transactionManager
protected DatabaseSystemEventDao systemEventDao
protected DurableEventStatusService statusService
protected QueueStatusThreadPoolTaskExecutor taskExecutor
@PostConstruct public void init()
public void execute(org.quartz.JobExecutionContext jobExecutionContext)
execute
in interface ConsumeWorker
public void setDatabaseSystemEventNode(DatabaseSystemEventNode node)
setDatabaseSystemEventNode
in interface DatabaseSystemEventNodeAware
protected void constructTaskExecutor()
Copyright © 2017. All rights reserved.