Class DefaultProductQueueLoader
- All Implemented Interfaces:
ProductQueueLoader<com.broadleafcommerce.search.index.core.queue.BatchIdHolder<String>>,com.broadleafcommerce.search.index.core.IndexableTypeAware,com.broadleafcommerce.search.index.core.queue.QueueLoader<com.broadleafcommerce.search.index.core.queue.BatchIdHolder<String>>
public class DefaultProductQueueLoader
extends com.broadleafcommerce.search.index.core.queue.AbstractBatchIdQueueLoader<String,com.broadleafcommerce.search.index.core.queue.BatchIdHolder<String>>
implements ProductQueueLoader<com.broadleafcommerce.search.index.core.queue.BatchIdHolder<String>>
Handles reading
Product IDs into the
queue for future retrieval.-
Constructor Summary
ConstructorsConstructorDescriptionDefaultProductQueueLoader(long waitTime, int maxTries, int batchReadSize, int chunkSize, CatalogService catalogService, com.broadleafcommerce.search.index.core.ProcessStateService stateService) -
Method Summary
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
-
DefaultProductQueueLoader
public DefaultProductQueueLoader(long waitTime, int maxTries, int batchReadSize, int chunkSize, CatalogService catalogService, com.broadleafcommerce.search.index.core.ProcessStateService stateService)
-
-
Method Details
-
readPagedIds
@Deprecated(since="2.1.5-GA") protected List<String> readPagedIds(@Nullable String startId, int batchSize) throws com.broadleafcommerce.search.api.SearchIndexException Deprecated.in favor ofreadPagedIds(String, int, Map<String, Object>)for the potential to utilize additional properties when reading products. -
readPagedIds
-
readPagedIds(String, int, Map<String, Object>)for the potential to utilize additional properties when reading products.