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 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

      public Duration getPriceListByCurrency()
    • getPriceListByVendorAndCurrency

      public Duration getPriceListByVendorAndCurrency()
    • getPriceListByUser

      public Duration getPriceListByUser()
    • getPriceListByPriceList

      public Duration getPriceListByPriceList()
    • getPriceDataByTargetAndPriceList

      public Duration getPriceDataByTargetAndPriceList()
    • getPriceDataByTargetDtosAndPriceList

      public Duration getPriceDataByTargetDtosAndPriceList()
    • getFeeByApplication

      public Duration 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

      public void setPriceListByCurrency(Duration priceListByCurrency)
    • setPriceListByVendorAndCurrency

      public void setPriceListByVendorAndCurrency(Duration priceListByVendorAndCurrency)
    • setPriceListByUser

      public void setPriceListByUser(Duration priceListByUser)
    • setPriceListByPriceList

      public void setPriceListByPriceList(Duration priceListByPriceList)
    • setPriceDataByTargetAndPriceList

      public void setPriceDataByTargetAndPriceList(Duration priceDataByTargetAndPriceList)
    • setPriceDataByTargetDtosAndPriceList

      public void setPriceDataByTargetDtosAndPriceList(Duration priceDataByTargetDtosAndPriceList)
    • setFeeByApplication

      public void setFeeByApplication(Duration feeByApplication)
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • canEqual

      protected boolean canEqual(Object other)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object