Class AssetCacheProperties.StorageLocationMappingCacheProperties

java.lang.Object
com.broadleafcommerce.asset.cache.AssetCacheProperties.StorageLocationMappingCacheProperties
Enclosing class:
AssetCacheProperties

public static class AssetCacheProperties.StorageLocationMappingCacheProperties extends Object
  • Constructor Details

    • StorageLocationMappingCacheProperties

      public StorageLocationMappingCacheProperties()
  • Method Details

    • isByProviderTypeAndOriginalLocationEnabled

      public boolean isByProviderTypeAndOriginalLocationEnabled()
      Controls whether caching of StorageLocationMapping by storage provider type and original location is enabled. This doesn't affect registration of the cache itself, but does affect whether flows use it.
    • getByProviderTypeAndOriginalLocationTtl

      public Duration getByProviderTypeAndOriginalLocationTtl()
      Time to live for the StorageLocationMapping cache by storage provider type and original location.
    • setByProviderTypeAndOriginalLocationEnabled

      public void setByProviderTypeAndOriginalLocationEnabled(boolean byProviderTypeAndOriginalLocationEnabled)
      Controls whether caching of StorageLocationMapping by storage provider type and original location is enabled. This doesn't affect registration of the cache itself, but does affect whether flows use it.
    • setByProviderTypeAndOriginalLocationTtl

      public void setByProviderTypeAndOriginalLocationTtl(Duration byProviderTypeAndOriginalLocationTtl)
      Time to live for the StorageLocationMapping cache by storage provider type and original location.