Class QueueLoadedEventListener
- java.lang.Object
-
- com.broadleafcommerce.search.index.core.event.listener.QueueLoadedEventListener
-
- All Implemented Interfaces:
EventListener
,org.springframework.context.ApplicationListener<QueueLoadedEvent>
@Order(-2147483638) public class QueueLoadedEventListener extends Object implements org.springframework.context.ApplicationListener<QueueLoadedEvent>
Listens forQueueLoadedEvent
, and update theProcessStateHolder
with the expected number of items to process based on the loading event.- Author:
- Kelly Tisdell (ktisdell)
-
-
Constructor Summary
Constructors Constructor Description QueueLoadedEventListener(QueueProvider queueProvider, ProcessStateService processStateService)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
onApplicationEvent(QueueLoadedEvent event)
-
-
-
Constructor Detail
-
QueueLoadedEventListener
public QueueLoadedEventListener(QueueProvider queueProvider, ProcessStateService processStateService)
-
-
Method Detail
-
onApplicationEvent
public void onApplicationEvent(QueueLoadedEvent event)
- Specified by:
onApplicationEvent
in interfaceorg.springframework.context.ApplicationListener<QueueLoadedEvent>
-
-