Class QueueCreatedEventListener
- java.lang.Object
-
- com.broadleafcommerce.search.index.core.event.listener.QueueCreatedEventListener
-
- All Implemented Interfaces:
EventListener
,org.springframework.context.ApplicationListener<QueueCreatedEvent>
@Order(-2147483638) public class QueueCreatedEventListener extends Object implements org.springframework.context.ApplicationListener<QueueCreatedEvent>
Listens forQueueCreatedEvent
, and trigger theSearchIndexWorkerProcessLauncher
to start new workers for the queue.
-
-
Constructor Summary
Constructors Constructor Description QueueCreatedEventListener(ProcessStateService processStateService)
QueueCreatedEventListener(ProcessStateService processStateService, boolean masterIsWorker)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
onApplicationEvent(QueueCreatedEvent event)
-
-
-
Constructor Detail
-
QueueCreatedEventListener
public QueueCreatedEventListener(ProcessStateService processStateService)
-
QueueCreatedEventListener
public QueueCreatedEventListener(ProcessStateService processStateService, boolean masterIsWorker)
-
-
Method Detail
-
onApplicationEvent
public void onApplicationEvent(QueueCreatedEvent event)
- Specified by:
onApplicationEvent
in interfaceorg.springframework.context.ApplicationListener<QueueCreatedEvent>
-
-