Class ProcessFailedEvent

java.lang.Object
java.util.EventObject
org.springframework.context.ApplicationEvent
com.broadleafcommerce.search.index.core.event.SearchIndexProcessEvent
com.broadleafcommerce.search.index.core.event.ProcessFailedEvent
All Implemented Interfaces:
IndexableTypeAware, Serializable

public class ProcessFailedEvent extends SearchIndexProcessEvent
Event to notify that an error occurred during the reindex process. This will be raised before the ProcessCompletedEvent.
Author:
Kelly Tisdell (ktisdell)
See Also:
  • Constructor Details

    • ProcessFailedEvent

      public ProcessFailedEvent(com.broadleafcommerce.search.api.type.IndexableType indexableType, @Nullable String correlationId, Throwable t)
    • ProcessFailedEvent

      public ProcessFailedEvent(Object source, com.broadleafcommerce.search.api.type.IndexableType indexableType, @Nullable String correlationId, Throwable t)
  • Method Details

    • getError

      public Throwable getError()
      The error which resulted in the failure of the reindex process.
      Returns:
      the error which failed the reindex
    • getCorrelationId

      public String getCorrelationId()
      The ID which uniquely identifies this reindex process.
      Returns:
      the ID which uniquely identifies this reindex process