Class AssetCacheProperties
java.lang.Object
com.broadleafcommerce.asset.cache.AssetCacheProperties
Properties that influence cache settings for the asset service
- Author:
- Jeff Fischer
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanbooleanintThe total heap budget in MB for all asset caches.intThe total off-heap budget in MB for all asset caches.inthashCode()voidsetByUrlTtl(Duration byUrlTtl) voidsetHeapBudget(int heapBudget) The total heap budget in MB for all asset caches.voidsetOffHeapBudget(int offHeapBudget) The total off-heap budget in MB for all asset caches.voidsetStorageLocationMapping(AssetCacheProperties.StorageLocationMappingCacheProperties storageLocationMapping) toString()
-
Constructor Details
-
AssetCacheProperties
public AssetCacheProperties()
-
-
Method Details
-
getHeapBudget
public int getHeapBudget()The total heap budget in MB for all asset caches. -
getOffHeapBudget
public int getOffHeapBudget()The total off-heap budget in MB for all asset caches. -
getByUrlTtl
-
getStorageLocationMapping
-
setHeapBudget
public void setHeapBudget(int heapBudget) The total heap budget in MB for all asset caches. -
setOffHeapBudget
public void setOffHeapBudget(int offHeapBudget) The total off-heap budget in MB for all asset caches. -
setByUrlTtl
-
setStorageLocationMapping
public void setStorageLocationMapping(AssetCacheProperties.StorageLocationMappingCacheProperties storageLocationMapping) -
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-