Class AssetCacheProperties

java.lang.Object
com.broadleafcommerce.asset.cache.AssetCacheProperties

@ConfigurationProperties("broadleaf.asset.cache") public class AssetCacheProperties extends Object
Properties that influence cache settings for the asset service
Author:
Jeff Fischer
  • 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

      public Duration 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

      public void setByUrlTtl(Duration byUrlTtl)
    • setStorageLocationMapping

      public void setStorageLocationMapping(AssetCacheProperties.StorageLocationMappingCacheProperties storageLocationMapping)
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • canEqual

      protected boolean canEqual(Object other)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object