NIUCLOUD是一款SaaS管理后台框架多应用插件+云编译。上千名开发者、服务商正在积极拥抱开发者生态。欢迎开发者们免费入驻。一起助力发展! 广告
  @Caching注解可以让我们在一个方法或者类上同时指定多个Spring Cache相关的注解。其拥有三个属性:cacheable、和evict,分别用于指定@Cacheable、@CachePut和 ``` @CacheEvict。    @Caching(cacheable = @Cacheable("users"), evict = { @CacheEvict("cache2"),          @CacheEvict(value = "cache3", allEntries = true) })    public User find(Integer id) {undefined       returnnull;    } ```