Class ReadOnlyCacheAccess
java.lang.Object
eu.europa.esig.dss.tsl.cache.access.ReadOnlyCacheAccess
- Direct Known Subclasses:
SynchronizerCacheAccess
public class ReadOnlyCacheAccess extends Object
-
Field Summary
Fields Modifier and Type Field Description protected DownloadCachedownloadCacheprotected ParsingCacheparsingCacheprotected ValidationCachevalidationCache -
Constructor Summary
Constructors Constructor Description ReadOnlyCacheAccess(DownloadCache fileCache, ParsingCache parsingCache, ValidationCache validationCache) -
Method Summary
Modifier and Type Method Description Set<CacheKey>getAllCacheKeys()This method returns all found keys in any cacheDownloadCacheDTOgetDownloadCacheDTO(CacheKey key)Returns download cache DTO resultParsingCacheDTOgetParsingCacheDTO(CacheKey key)Returns download cache DTO resultValidationCacheDTOgetValidationCacheDTO(CacheKey key)Returns download cache DTO result
-
Field Details
-
Constructor Details
-
ReadOnlyCacheAccess
public ReadOnlyCacheAccess(DownloadCache fileCache, ParsingCache parsingCache, ValidationCache validationCache)
-
-
Method Details
-
getDownloadCacheDTO
Returns download cache DTO result- Parameters:
key-CacheKeyto extract download result for- Returns:
DownloadCacheDTO
-
getParsingCacheDTO
Returns download cache DTO result- Parameters:
key-CacheKeyto extract download result for- Returns:
DownloadCacheDTO
-
getValidationCacheDTO
Returns download cache DTO result- Parameters:
key-CacheKeyto extract download result for- Returns:
DownloadCacheDTO
-
getAllCacheKeys
This method returns all found keys in any cache- Returns:
- a set of cache keys
-