Class DefaultCustomerQueueLoader
- All Implemented Interfaces:
com.broadleafcommerce.search.index.core.IndexableTypeAware,com.broadleafcommerce.search.index.core.queue.QueueLoader<com.broadleafcommerce.search.index.core.queue.BatchIdHolder<String>>,CustomerQueueLoader<com.broadleafcommerce.search.index.core.queue.BatchIdHolder<String>>
public class DefaultCustomerQueueLoader
extends com.broadleafcommerce.search.index.core.queue.AbstractBatchIdQueueLoader<String,com.broadleafcommerce.search.index.core.queue.BatchIdHolder<String>>
implements CustomerQueueLoader<com.broadleafcommerce.search.index.core.queue.BatchIdHolder<String>>
Handles reading
Customer IDs into the
queue for future retrieval.-
Constructor Summary
ConstructorsConstructorDescriptionDefaultCustomerQueueLoader(long waitTime, int maxTries, int batchReadSize, int chunkSize, CustomerService customerService, com.broadleafcommerce.search.index.core.ProcessStateService processStateService) -
Method Summary
Modifier and TypeMethodDescriptionreadPagedIds(String startId, int batchSize) readPagedIds(String startId, int batchSize, Map<String, Object> additionalProperties) Currently unused and points to the originalreadPagedIds(String, int)but can be utilized later to add filtering on a date for a customer index.Methods inherited from class com.broadleafcommerce.search.index.core.queue.AbstractBatchIdQueueLoader
countIndexablesToProcess, getIndexableType, initialize, readPage, readPage, transformMethods inherited from class com.broadleafcommerce.search.index.core.queue.AbstractQueueLoader
createExecutor, destroyExecutor, getMaxTries, getWaitTime, isRunning, populateQueueMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.broadleafcommerce.search.index.core.queue.QueueLoader
populateQueue
-
Constructor Details
-
DefaultCustomerQueueLoader
public DefaultCustomerQueueLoader(long waitTime, int maxTries, int batchReadSize, int chunkSize, CustomerService customerService, com.broadleafcommerce.search.index.core.ProcessStateService processStateService)
-
-
Method Details
-
readPagedIds
-
readPagedIds
protected List<String> readPagedIds(String startId, int batchSize, @Nullable Map<String, Object> additionalProperties) throws com.broadleafcommerce.search.api.SearchIndexExceptionCurrently unused and points to the originalreadPagedIds(String, int)but can be utilized later to add filtering on a date for a customer index.
-