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 theProcessCompletedEvent
.- Author:
- Kelly Tisdell (ktisdell)
- 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 ProcessFailedEvent(com.broadleafcommerce.search.api.type.IndexableType indexableType, String correlationId, Throwable t)
ProcessFailedEvent(Object source, com.broadleafcommerce.search.api.type.IndexableType indexableType, String correlationId, Throwable t)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getCorrelationId()
The ID which uniquely identifies this reindex process.Throwable
getError()
The error which resulted in the failure of the reindex process.-
Methods inherited from class com.broadleafcommerce.search.index.core.event.SearchIndexProcessEvent
getIndexableType
-
Methods inherited from class java.util.EventObject
getSource, toString
-
-
-
-
Method Detail
-
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
-
-