三十二 SpringBoot整合@Cacheable註解使用

@Cacheable @CacheEvict 一 @Cacheablehtml 1.1 @Cacheable做用:把方法的返回值添加到Ehcache緩存中。java 1.2 value屬性:指定一個Ehcache配置文件中的緩存策略,若是有給定一個value,name則表示使用的默認的緩存策略。sql 如:緩存 @Override // @Cacheable:對當前查詢的對象作緩存處理 valu
相關文章
相關標籤/搜索