|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.elasticpath.service.impl.AbstractEpServiceImpl com.elasticpath.service.catalogview.impl.ProductCacheLoaderImpl
public class ProductCacheLoaderImpl
Loads products into the product cache. This is only supported when using the RefreshableCachedProductRetrieveStrategy.
Constructor Summary | |
---|---|
ProductCacheLoaderImpl()
|
Method Summary | |
---|---|
void |
loadAllProducts()
Loads all products into the refreshable cache strategy. |
void |
setProductLoadTuner(ProductLoadTuner productLoadTuner)
Set the product load tuner to be used for loading the cache. |
void |
setProductService(ProductService productService)
Set the product service. |
void |
setRefreshableCachedProductRetrieveStrategy(RefreshableCachedProductRetrieveStrategy refreshableCachedProductRetrieveStrategy)
Set the refreshable cached product retrieve strategy whose cache is to be loaded. |
Methods inherited from class com.elasticpath.service.impl.AbstractEpServiceImpl |
---|
getElasticPath, setElasticPath |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.elasticpath.service.EpService |
---|
getElasticPath, setElasticPath |
Constructor Detail |
---|
public ProductCacheLoaderImpl()
Method Detail |
---|
public void loadAllProducts()
loadAllProducts
in interface ProductCacheLoader
public void setProductLoadTuner(ProductLoadTuner productLoadTuner)
productLoadTuner
- the load tunerpublic void setProductService(ProductService productService)
productService
- the product servicepublic void setRefreshableCachedProductRetrieveStrategy(RefreshableCachedProductRetrieveStrategy refreshableCachedProductRetrieveStrategy)
refreshableCachedProductRetrieveStrategy
- the strategy whose cache is to be reloaded
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |