Class BatchCompletedEvent
- java.lang.Object
-
- java.util.EventObject
-
- org.springframework.context.ApplicationEvent
-
- com.broadleafcommerce.search.index.core.event.SearchIndexProcessEvent
-
- com.broadleafcommerce.search.index.core.event.BatchCompletedEvent
-
- All Implemented Interfaces:
IndexableTypeAware
,Serializable
public class BatchCompletedEvent extends SearchIndexProcessEvent
Event to notify that a batch ofIndexables
have been processed.- Author:
- Kelly Tisdell
- See Also:
- Serialized Form
-
-
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
Constructors Constructor Description BatchCompletedEvent(com.broadleafcommerce.search.api.type.IndexableType indexableType, long indexablesProcessed)
BatchCompletedEvent(Object source, com.broadleafcommerce.search.api.type.IndexableType indexableType, long indexablesProcessed)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description long
getIndexablesProcessed()
The number of indexables processed in the batch.-
Methods inherited from class com.broadleafcommerce.search.index.core.event.SearchIndexProcessEvent
getIndexableType
-
Methods inherited from class java.util.EventObject
getSource, toString
-
-
-
-
Constructor Detail
-
BatchCompletedEvent
public BatchCompletedEvent(com.broadleafcommerce.search.api.type.IndexableType indexableType, long indexablesProcessed)
-
BatchCompletedEvent
public BatchCompletedEvent(Object source, com.broadleafcommerce.search.api.type.IndexableType indexableType, long indexablesProcessed)
-
-