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
Event to notify that a batch of
Indexables have been processed.- Author:
- Kelly Tisdell
- See Also:
-
Field Summary
Fields inherited from class com.broadleafcommerce.search.index.core.event.SearchIndexProcessEvent
DEFAULT_SOURCEFields inherited from class java.util.EventObject
source -
Constructor Summary
ConstructorsConstructorDescriptionBatchCompletedEvent(com.broadleafcommerce.search.api.type.IndexableType indexableType, long indexablesProcessed) BatchCompletedEvent(Object source, com.broadleafcommerce.search.api.type.IndexableType indexableType, long indexablesProcessed) -
Method Summary
Modifier and TypeMethodDescriptionlongThe number of indexables processed in the batch.Methods inherited from class com.broadleafcommerce.search.index.core.event.SearchIndexProcessEvent
getIndexableTypeMethods inherited from class org.springframework.context.ApplicationEvent
getTimestampMethods inherited from class java.util.EventObject
getSource, toString
-
Constructor Details
-
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)
-
-
Method Details
-
getIndexablesProcessed
public long getIndexablesProcessed()The number of indexables processed in the batch.- Returns:
- number of indexables processed in the batch
-