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 of Indexables have been processed.
Author:
Kelly Tisdell
See Also:
  • 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