Class SolrOrderIndexWorker
- java.lang.Object
-
- com.broadleafcommerce.search.index.core.worker.AbstractWorker<com.broadleafcommerce.search.index.core.queue.BatchIdHolder<String>>
-
- com.broadleafcommerce.search.index.order.solr.worker.SolrOrderIndexWorker
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedSolrOrderIndexWorker(@NonNull com.broadleafcommerce.search.index.core.ProcessStateService processStateService, @NonNull Semaphore semaphore, @NonNull com.broadleafcommerce.search.api.type.IndexableType type, @NonNull com.broadleafcommerce.search.index.core.queue.ReindexQueue<com.broadleafcommerce.search.index.core.queue.BatchIdHolder<String>> queue, @NonNull com.broadleafcommerce.search.index.order.service.OrderService orderService, @NonNull com.broadleafcommerce.search.index.core.document.DocumentBuilder<org.apache.solr.common.SolrInputDocument> documentBuilder, @NonNull com.broadleafcommerce.search.provider.solr.SolrIndexProvider solrIndexProvider, @NonNull com.broadleafcommerce.search.provider.solr.SolrCollectionResolver collectionResolver, com.broadleafcommerce.common.extension.data.DataRouteSupporting searchSource, long waitTime, int maxTries)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected intexecuteInternal(com.broadleafcommerce.search.index.core.queue.BatchIdHolder<String> queueEntry)protected com.broadleafcommerce.search.provider.solr.SolrCollectionResolvergetCollectionResolver()protected com.broadleafcommerce.search.index.core.document.DocumentBuilder<org.apache.solr.common.SolrInputDocument>getDocumentBuilder()protected com.broadleafcommerce.search.index.order.service.OrderServicegetOrderService()protected com.broadleafcommerce.search.provider.solr.SolrIndexProvidergetSolrIndexProvider()
-
-
-
Constructor Detail
-
SolrOrderIndexWorker
protected SolrOrderIndexWorker(@NonNull @NonNull com.broadleafcommerce.search.index.core.ProcessStateService processStateService, @NonNull @NonNull Semaphore semaphore, @NonNull @NonNull com.broadleafcommerce.search.api.type.IndexableType type, @NonNull @NonNull com.broadleafcommerce.search.index.core.queue.ReindexQueue<com.broadleafcommerce.search.index.core.queue.BatchIdHolder<String>> queue, @NonNull @NonNull com.broadleafcommerce.search.index.order.service.OrderService orderService, @NonNull @NonNull com.broadleafcommerce.search.index.core.document.DocumentBuilder<org.apache.solr.common.SolrInputDocument> documentBuilder, @NonNull @NonNull com.broadleafcommerce.search.provider.solr.SolrIndexProvider solrIndexProvider, @NonNull @NonNull com.broadleafcommerce.search.provider.solr.SolrCollectionResolver collectionResolver, com.broadleafcommerce.common.extension.data.DataRouteSupporting searchSource, long waitTime, int maxTries)
-
-
Method Detail
-
executeInternal
protected int executeInternal(com.broadleafcommerce.search.index.core.queue.BatchIdHolder<String> queueEntry) throws com.broadleafcommerce.search.api.SearchIndexException
- Specified by:
executeInternalin classcom.broadleafcommerce.search.index.core.worker.AbstractWorker<com.broadleafcommerce.search.index.core.queue.BatchIdHolder<String>>- Throws:
com.broadleafcommerce.search.api.SearchIndexException
-
getOrderService
protected com.broadleafcommerce.search.index.order.service.OrderService getOrderService()
-
getDocumentBuilder
protected com.broadleafcommerce.search.index.core.document.DocumentBuilder<org.apache.solr.common.SolrInputDocument> getDocumentBuilder()
-
getSolrIndexProvider
protected com.broadleafcommerce.search.provider.solr.SolrIndexProvider getSolrIndexProvider()
-
getCollectionResolver
protected com.broadleafcommerce.search.provider.solr.SolrCollectionResolver getCollectionResolver()
-
-