Class WorkerCompletedEvent
- java.lang.Object
-
- java.util.EventObject
-
- org.springframework.context.ApplicationEvent
-
- com.broadleafcommerce.search.index.core.event.SearchIndexProcessEvent
-
- com.broadleafcommerce.search.index.core.event.WorkerCompletedEvent
-
- All Implemented Interfaces:
IndexableTypeAware
,Serializable
public class WorkerCompletedEvent extends SearchIndexProcessEvent
Provides an event to notify that a worker has completed its work.- 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 WorkerCompletedEvent(com.broadleafcommerce.search.api.type.IndexableType type, String correlationId)
WorkerCompletedEvent(Object source, com.broadleafcommerce.search.api.type.IndexableType type, String correlationId)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getCorrelationId()
The ID which uniquely identifies this reindex process.-
Methods inherited from class com.broadleafcommerce.search.index.core.event.SearchIndexProcessEvent
getIndexableType
-
Methods inherited from class java.util.EventObject
getSource, toString
-
-
-
-
Constructor Detail
-
WorkerCompletedEvent
public WorkerCompletedEvent(com.broadleafcommerce.search.api.type.IndexableType type, @Nullable String correlationId)
-
-
Method Detail
-
getCorrelationId
public String getCorrelationId()
The ID which uniquely identifies this reindex process.- Returns:
- the ID which uniquely identifies this reindex process
-
-