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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanbooleanintThe total heap budget in MB for all billing caches.intThe total off-heap budget in MB for all billing caches.inthashCode()voidsetByIdTtl(Duration byIdTtl) voidsetHeapBudget(int heapBudget) The total heap budget in MB for all billing caches.voidsetOffHeapBudget(int offHeapBudget) The total off-heap budget in MB for all billing caches.toString()
-
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
-
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
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-