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 DownloadCache
downloadCache
protected ParsingCache
parsingCache
protected ValidationCache
validationCache
-
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 cacheDownloadCacheDTO
getDownloadCacheDTO(CacheKey key)
Returns download cache DTO resultParsingCacheDTO
getParsingCacheDTO(CacheKey key)
Returns download cache DTO resultValidationCacheDTO
getValidationCacheDTO(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
-CacheKey
to extract download result for- Returns:
DownloadCacheDTO
-
getParsingCacheDTO
Returns download cache DTO result- Parameters:
key
-CacheKey
to extract download result for- Returns:
DownloadCacheDTO
-
getValidationCacheDTO
Returns download cache DTO result- Parameters:
key
-CacheKey
to extract download result for- Returns:
DownloadCacheDTO
-
getAllCacheKeys
This method returns all found keys in any cache- Returns:
- a set of cache keys
-