7.4 EvictInterceptor

    上例中的用法将清除cacheName为blogList的缓存数据,与其配合的CacheInterceptor会自动更新cacheName为blogList的缓存数据。

    1. @Before(EvictInterceptor.class)
    2. public void update() {
    3. }