Class PricingCacheProperties
java.lang.Object
com.broadleafcommerce.pricing.cache.PricingCacheProperties
@ConfigurationProperties("broadleaf.pricing.cache")
public class PricingCacheProperties
extends Object
Properties that influence cache settings for the pricing service
- Author:
- Jeff Fischer
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanbooleanintThe total heap budget in MB for all pricing caches.intThe total off-heap budget in MB for all pricing caches.inthashCode()voidsetFeeByApplication(Duration feeByApplication) voidsetHeapBudget(int heapBudget) The total heap budget in MB for all pricing caches.voidsetOffHeapBudget(int offHeapBudget) The total off-heap budget in MB for all pricing caches.voidsetPriceDataByTargetAndPriceList(Duration priceDataByTargetAndPriceList) voidsetPriceDataByTargetDtosAndPriceList(Duration priceDataByTargetDtosAndPriceList) voidsetPriceListByCurrency(Duration priceListByCurrency) voidsetPriceListByPriceList(Duration priceListByPriceList) voidsetPriceListByUser(Duration priceListByUser) voidsetPriceListByVendorAndCurrency(Duration priceListByVendorAndCurrency) toString()
-
Constructor Details
-
PricingCacheProperties
public PricingCacheProperties()
-
-
Method Details
-
getHeapBudget
public int getHeapBudget()The total heap budget in MB for all pricing caches. -
getOffHeapBudget
public int getOffHeapBudget()The total off-heap budget in MB for all pricing caches. -
getPriceListByCurrency
-
getPriceListByVendorAndCurrency
-
getPriceListByUser
-
getPriceListByPriceList
-
getPriceDataByTargetAndPriceList
-
getPriceDataByTargetDtosAndPriceList
-
getFeeByApplication
-
setHeapBudget
public void setHeapBudget(int heapBudget) The total heap budget in MB for all pricing caches. -
setOffHeapBudget
public void setOffHeapBudget(int offHeapBudget) The total off-heap budget in MB for all pricing caches. -
setPriceListByCurrency
-
setPriceListByVendorAndCurrency
-
setPriceListByUser
-
setPriceListByPriceList
-
setPriceDataByTargetAndPriceList
-
setPriceDataByTargetDtosAndPriceList
-
setFeeByApplication
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-