@Component @Profile(value="performance") public class TransformationCacheAccessor extends Object implements TransformationCacheAdministrator
Constructor and Description |
---|
TransformationCacheAccessor() |
TransformationCacheAccessor(ImageTransformationContextFactory imageTransformationContextFactory,
javax.cache.Cache imageTransformCache,
javax.cache.Cache imagesTimeStampCache,
int defaultCheckPeriod)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
afterPropertiesSet() |
int |
getDefaultCheckPeriod() |
javax.cache.Cache<String,ImageUpdateTimeStamp> |
getImagesTimeStampCache() |
javax.cache.Cache<String,Image> |
getImageTransformCache() |
CacheStatistics |
getStatistics()
Gets the cache statistics for the underlying cache.
|
void |
remove(String uriPatternAsString)
Remove transformations which were generated from sources URLs matching the given string as a regex.
|
void |
removeAll()
Remove all the items inside the transformation caches completely.
|
public TransformationCacheAccessor()
@Deprecated public TransformationCacheAccessor(ImageTransformationContextFactory imageTransformationContextFactory, javax.cache.Cache imageTransformCache, javax.cache.Cache imagesTimeStampCache, int defaultCheckPeriod)
@PostConstruct public void afterPropertiesSet()
public javax.cache.Cache<String,ImageUpdateTimeStamp> getImagesTimeStampCache()
public int getDefaultCheckPeriod()
public void removeAll()
removeAll
in interface TransformationCacheAdministrator
public void remove(String uriPatternAsString)
remove
in interface TransformationCacheAdministrator
public CacheStatistics getStatistics()
getStatistics
in interface TransformationCacheAdministrator
Copyright (c) 2014-2021 All Rights Reserved by the RWS Group for and on behalf of its affiliates and subsidiaries