Class MetadataCacheProperties
java.lang.Object
com.broadleafcommerce.metadata.cache.MetadataCacheProperties
@ConfigurationProperties("broadleaf.metadata.cache")
public class MetadataCacheProperties
extends Object
Properties that influence cache settings for the metadata service
- Author:
- Dima Myroniuk (dmyroniuk)
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanbooleanintThe total heap budget in MB for all metadata caches.intThe total off-heap budget in MB for all metadata caches.inthashCode()voidsetByComponentIdTenantIdApplicationId(Duration byComponentIdTenantIdApplicationId) voidsetHeapBudget(int heapBudget) The total heap budget in MB for all metadata caches.voidsetOffHeapBudget(int offHeapBudget) The total off-heap budget in MB for all metadata caches.toString()
-
Constructor Details
-
MetadataCacheProperties
public MetadataCacheProperties()
-
-
Method Details
-
getHeapBudget
public int getHeapBudget()The total heap budget in MB for all metadata caches. -
getOffHeapBudget
public int getOffHeapBudget()The total off-heap budget in MB for all metadata caches. -
getByComponentIdTenantIdApplicationId
-
setHeapBudget
public void setHeapBudget(int heapBudget) The total heap budget in MB for all metadata caches. -
setOffHeapBudget
public void setOffHeapBudget(int offHeapBudget) The total off-heap budget in MB for all metadata caches. -
setByComponentIdTenantIdApplicationId
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-