Package com.broadleafcommerce.search.index.core.event.listener
@NonNullApi
package com.broadleafcommerce.search.index.core.event.listener
-
ClassesClassDescriptionListens for
BatchCompletedEvent, and updates theProcessStateHolderwith the number of items processed.Listens forProcessCompletedEvent, and ends the current process state.Listens forProcessFailedEvent, and instructs theProcessStateHolderto fail fast.Listens forProcessStartedEvent.Listens forQueueCreatedEvent, and trigger theSearchIndexWorkerProcessLauncherto start new workers for the queue.Listens forQueueLoadedEvent, and update theProcessStateHolderwith the expected number of items to process based on the loading event.Listens forWorkerCompletedEvent, and releases the semaphore for the worker on the master node.Listens forWorkerStartedEvent, and updates theProcessStateHoldernode count and total thread count for the new worker.