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
Event to notify that an error occurred during the reindex process. This will be raised before the
ProcessCompletedEvent
.- Author:
- Kelly Tisdell (ktisdell)
- See Also:
-
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
ConstructorsConstructorDescriptionProcessFailedEvent
(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
Modifier and TypeMethodDescriptionThe ID which uniquely identifies this reindex process.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 org.springframework.context.ApplicationEvent
getTimestamp
Methods inherited from class java.util.EventObject
getSource, toString
-
Constructor Details
-
ProcessFailedEvent
-
ProcessFailedEvent
-
-
Method Details
-
getError
The error which resulted in the failure of the reindex process.- Returns:
- the error which failed the reindex
-
getCorrelationId
The ID which uniquely identifies this reindex process.- Returns:
- the ID which uniquely identifies this reindex process
-