Class CacheService
- java.lang.Object
-
- eu.dnetlib.irishmonitorservice.services.CacheService
-
@Service public class CacheService extends Object
-
-
Constructor Summary
Constructors Constructor Description CacheService(StatsToolService statsToolService, org.springframework.cache.CacheManager cacheManager)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclearCache()List<List<List<String>>>getResponse(String type)
-
-
-
Constructor Detail
-
CacheService
@Autowired public CacheService(StatsToolService statsToolService, org.springframework.cache.CacheManager cacheManager) throws UnsupportedEncodingException
- Throws:
UnsupportedEncodingException
-
-
Method Detail
-
getResponse
public List<List<List<String>>> getResponse(String type) throws UnsupportedEncodingException
- Throws:
UnsupportedEncodingException
-
clearCache
@Scheduled(cron="0 0 0 * * *") public void clearCache() throws UnsupportedEncodingException- Throws:
UnsupportedEncodingException
-
-