Class CustomerClientCacheProperties
java.lang.Object
com.broadleafcommerce.customer.client.autoconfigure.CustomerClientCacheProperties
@ConfigurationProperties("broadleaf.customer.client.cache")
public class CustomerClientCacheProperties
extends Object
- Author:
- Nathan Moore (nathandmoore)
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintThe total heap budget in MB for all customer client caches.intThe total off-heap budget in MB for all customer client caches.voidsetDynamicCustomerSegmentCache(Duration dynamicCustomerSegmentCache) voidsetHeapBudget(int heapBudget) The total heap budget in MB for all customer client caches.voidsetOffHeapBudget(int offHeapBudget) The total off-heap budget in MB for all customer client caches.
-
Constructor Details
-
CustomerClientCacheProperties
public CustomerClientCacheProperties()
-
-
Method Details
-
getHeapBudget
public int getHeapBudget()The total heap budget in MB for all customer client caches. -
getOffHeapBudget
public int getOffHeapBudget()The total off-heap budget in MB for all customer client caches. -
getDynamicCustomerSegmentCache
-
setHeapBudget
public void setHeapBudget(int heapBudget) The total heap budget in MB for all customer client caches. -
setOffHeapBudget
public void setOffHeapBudget(int offHeapBudget) The total off-heap budget in MB for all customer client caches. -
setDynamicCustomerSegmentCache
-