public class ResultCacheServiceImpl extends java.lang.Object implements ResultCacheService
Constructor and Description |
---|
ResultCacheServiceImpl() |
Modifier and Type | Method and Description |
---|---|
void |
addToResultCache(ResultCacheKey cacheKey,
CacheableResult result) |
void |
flush() |
CacheableResult |
getCachedResult(ResultCacheKey cacheKey) |
void |
maintainCache() |
void |
removeFromResultCache(ResultCacheKey cacheKey) |
public void maintainCache()
maintainCache
in interface ResultCacheService
public void addToResultCache(ResultCacheKey cacheKey, CacheableResult result)
addToResultCache
in interface ResultCacheService
public void removeFromResultCache(ResultCacheKey cacheKey)
removeFromResultCache
in interface ResultCacheService
public void flush()
flush
in interface ResultCacheService
public CacheableResult getCachedResult(ResultCacheKey cacheKey)
getCachedResult
in interface ResultCacheService