1234567891011121314151617181920212223 |
- package com.diagbot.facade;
- import org.springframework.cache.annotation.CacheEvict;
- import org.springframework.stereotype.Component;
- /**
- * @Description:
- * @Author:zhoutg
- * @time: 2018/11/23 11:37
- */
- @Component
- public class CacheFacade {
- /**
- * 清除缓存信息
- *
- * @return
- */
- @CacheEvict(value = "cache", allEntries = true)
- public void clear() {
- }
- }
|