Class SolrCustomerIndexWorker
- java.lang.Object
-
- com.broadleafcommerce.search.index.core.worker.AbstractWorker<com.broadleafcommerce.search.index.core.queue.BatchIdHolder<String>>
-
- com.broadleafcommerce.search.index.customer.solr.worker.SolrCustomerIndexWorker
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
SolrCustomerIndexWorker(@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.customer.service.CustomerService customerService, @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 int
executeInternal(com.broadleafcommerce.search.index.core.queue.BatchIdHolder<String> queueEntry)
protected com.broadleafcommerce.search.provider.solr.SolrCollectionResolver
getCollectionResolver()
protected com.broadleafcommerce.search.index.customer.service.CustomerService
getCustomerService()
protected com.broadleafcommerce.search.index.core.document.DocumentBuilder<org.apache.solr.common.SolrInputDocument>
getDocumentBuilder()
protected com.broadleafcommerce.search.provider.solr.SolrIndexProvider
getSolrIndexProvider()
-
-
-
Constructor Detail
-
SolrCustomerIndexWorker
protected SolrCustomerIndexWorker(@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.customer.service.CustomerService customerService, @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:
executeInternal
in classcom.broadleafcommerce.search.index.core.worker.AbstractWorker<com.broadleafcommerce.search.index.core.queue.BatchIdHolder<String>>
- Throws:
com.broadleafcommerce.search.api.SearchIndexException
-
getCustomerService
protected com.broadleafcommerce.search.index.customer.service.CustomerService getCustomerService()
-
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()
-
-