Class QueueLoadedEvent
java.lang.Object
java.util.EventObject
org.springframework.context.ApplicationEvent
com.broadleafcommerce.search.index.core.event.SearchIndexProcessEvent
com.broadleafcommerce.search.index.core.event.QueueLoadedEvent
- All Implemented Interfaces:
IndexableTypeAware
,Serializable
Event to indicate that the ID queue has been loaded and there is no more data to load. See
ReindexQueue
- Author:
- Kelly Tisdell (ktisdell)
- See Also:
-
Field Summary
Fields inherited from class com.broadleafcommerce.search.index.core.event.SearchIndexProcessEvent
DEFAULT_SOURCE
Fields inherited from class java.util.EventObject
source
-
Constructor Summary
ConstructorsConstructorDescriptionQueueLoadedEvent
(com.broadleafcommerce.search.api.type.IndexableType type, long expectedIndexableItems) QueueLoadedEvent
(Object source, com.broadleafcommerce.search.api.type.IndexableType type, long expectedIndexableItems) -
Method Summary
Modifier and TypeMethodDescriptionlong
The number of indexable items expected to be processed based on the loaded queue.Methods inherited from class com.broadleafcommerce.search.index.core.event.SearchIndexProcessEvent
getIndexableType
Methods inherited from class org.springframework.context.ApplicationEvent
getTimestamp
Methods inherited from class java.util.EventObject
getSource, toString
-
Constructor Details
-
QueueLoadedEvent
public QueueLoadedEvent(com.broadleafcommerce.search.api.type.IndexableType type, long expectedIndexableItems) -
QueueLoadedEvent
public QueueLoadedEvent(Object source, com.broadleafcommerce.search.api.type.IndexableType type, long expectedIndexableItems)
-
-
Method Details
-
getExpectedIndexableItems
public long getExpectedIndexableItems()The number of indexable items expected to be processed based on the loaded queue.- Returns:
- number of indexable items expected to be processed
-