@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.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 |
setDatabaseSystemEventNode(DatabaseSystemEventNode node) |
void |
stop() |
populateSystemEvents
protected DatabaseSystemEventNode eventNode
protected org.broadleafcommerce.common.util.StreamingTransactionCapableUtil transUtil
protected DatabaseSystemEventDao systemEventDao
protected DurableEventStatusService statusService
protected QueueStatusThreadPoolTaskExecutor taskExecutor
public void execute(org.quartz.JobExecutionContext jobExecutionContext)
execute
in interface ConsumeWorker
public void setDatabaseSystemEventNode(DatabaseSystemEventNode node)
setDatabaseSystemEventNode
in interface DatabaseSystemEventNodeAware
protected void constructTaskExecutor()
Copyright © 2019. All rights reserved.