Class CustomerSearchIndexWorkerProcessLauncher<T>
java.lang.Object
com.broadleafcommerce.search.index.core.worker.GenericSearchIndexWorkerProcessLauncher<T>
com.broadleafcommerce.search.index.customer.worker.CustomerSearchIndexWorkerProcessLauncher<T>
- Type Parameters:
T
- The type of the objects retrieved from the Queue
- All Implemented Interfaces:
com.broadleafcommerce.search.index.core.IndexableTypeAware
,com.broadleafcommerce.search.index.core.worker.SearchIndexWorkerProcessLauncher
,Runnable
public abstract class CustomerSearchIndexWorkerProcessLauncher<T>
extends com.broadleafcommerce.search.index.core.worker.GenericSearchIndexWorkerProcessLauncher<T>
Executes worker threads to read and index
CUSTOMERs
from
the Queue.-
Constructor Summary
ConstructorsConstructorDescriptionCustomerSearchIndexWorkerProcessLauncher
(com.broadleafcommerce.search.index.core.ProcessStateService processStateService, com.broadleafcommerce.search.index.core.queue.QueueProvider queueProvider, int threads, long waitTime, int maxTries) Deprecated, for removal: This API element is subject to removal in a future version.CustomerSearchIndexWorkerProcessLauncher
(com.broadleafcommerce.search.index.core.ProcessStateService processStateService, com.broadleafcommerce.search.index.core.queue.QueueProvider queueProvider, int threads, long waitTime, int maxTries, long pauseBetweenThreadsStart) -
Method Summary
Methods inherited from class com.broadleafcommerce.search.index.core.worker.GenericSearchIndexWorkerProcessLauncher
createExecutor, createNewTask, destroyExecutor, executeInternally, getIndexableType, getMaxTries, getPauseBetweenThreadsStart, getProcessStateService, getQueueProvider, getWaitTime, getWorkerThreads, instance, isActive, isExecuting, launchWorkers, registerSearchIndexWorkerProcessLauncher, run
-
Constructor Details
-
CustomerSearchIndexWorkerProcessLauncher
@Deprecated(forRemoval=true, since="2.1.4") public CustomerSearchIndexWorkerProcessLauncher(com.broadleafcommerce.search.index.core.ProcessStateService processStateService, com.broadleafcommerce.search.index.core.queue.QueueProvider queueProvider, int threads, long waitTime, int maxTries) Deprecated, for removal: This API element is subject to removal in a future version. -
CustomerSearchIndexWorkerProcessLauncher
public CustomerSearchIndexWorkerProcessLauncher(com.broadleafcommerce.search.index.core.ProcessStateService processStateService, com.broadleafcommerce.search.index.core.queue.QueueProvider queueProvider, int threads, long waitTime, int maxTries, long pauseBetweenThreadsStart)
-