Class BillingCacheProperties

java.lang.Object
com.broadleafcommerce.billing.service.cache.BillingCacheProperties

@ConfigurationProperties("broadleaf.billing.cache") public class BillingCacheProperties extends Object
Properties that influence cache settings for the billing service
Author:
Jeff Fischer
  • Constructor Details

    • BillingCacheProperties

      public BillingCacheProperties()
  • Method Details

    • getHeapBudget

      public int getHeapBudget()
      The total heap budget in MB for all billing caches.
    • getOffHeapBudget

      public int getOffHeapBudget()
      The total off-heap budget in MB for all billing caches.
    • getByIdTtl

      public Duration getByIdTtl()
    • setHeapBudget

      public void setHeapBudget(int heapBudget)
      The total heap budget in MB for all billing caches.
    • setOffHeapBudget

      public void setOffHeapBudget(int offHeapBudget)
      The total off-heap budget in MB for all billing caches.
    • setByIdTtl

      public void setByIdTtl(Duration byIdTtl)
    • 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