Class AssetCacheProperties.StorageLocationMappingCacheProperties
java.lang.Object
com.broadleafcommerce.asset.cache.AssetCacheProperties.StorageLocationMappingCacheProperties
- Enclosing class:
- AssetCacheProperties
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionTime to live for the StorageLocationMapping cache by storage provider type and original location.booleanControls whether caching of StorageLocationMapping by storage provider type and original location is enabled.voidsetByProviderTypeAndOriginalLocationEnabled(boolean byProviderTypeAndOriginalLocationEnabled) Controls whether caching of StorageLocationMapping by storage provider type and original location is enabled.voidsetByProviderTypeAndOriginalLocationTtl(Duration byProviderTypeAndOriginalLocationTtl) Time to live for the StorageLocationMapping cache by storage provider type and original location.
-
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
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
Time to live for the StorageLocationMapping cache by storage provider type and original location.
-