Package com.broadleafcommerce.menu.cache
Class MenuCacheProperties
java.lang.Object
com.broadleafcommerce.menu.cache.MenuCacheProperties
Properties that influence cache settings for the menu service
- Author:
- Jeff Fischer
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanbooleanintThe total heap budget in MB for all menu caches.intThe total off-heap budget in MB for all menu caches.inthashCode()voidsetByMenuTtl(Duration byMenuTtl) voidsetHeapBudget(int heapBudget) The total heap budget in MB for all menu caches.voidsetOffHeapBudget(int offHeapBudget) The total off-heap budget in MB for all menu caches.toString()
-
Constructor Details
-
MenuCacheProperties
public MenuCacheProperties()
-
-
Method Details
-
getHeapBudget
public int getHeapBudget()The total heap budget in MB for all menu caches. -
getOffHeapBudget
public int getOffHeapBudget()The total off-heap budget in MB for all menu caches. -
getByMenuTtl
-
setHeapBudget
public void setHeapBudget(int heapBudget) The total heap budget in MB for all menu caches. -
setOffHeapBudget
public void setOffHeapBudget(int offHeapBudget) The total off-heap budget in MB for all menu caches. -
setByMenuTtl
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-