Spring缓存注解

@Cacheable(value="cachedPointsTasks")
当查询方法使用次注解时,如果已查询过,则将数据缓存到缓存空间,不再查询数据库。

原文地址:https://www.cnblogs.com/zhuzhiq/p/5585022.html