-
Notifications
You must be signed in to change notification settings - Fork 365
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix 更新缓存的时候连带更新常量工具类中使用的本地(TimeCacheMap)缓存
- Loading branch information
Showing
5 changed files
with
43 additions
and
20 deletions.
There are no files selected for viewing
15 changes: 15 additions & 0 deletions
15
flash-core/src/main/java/cn/enilu/flash/cache/BaseCache.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
package cn.enilu.flash.cache; | ||
|
||
import cn.enilu.flash.bean.vo.SpringContextHolder; | ||
import cn.enilu.flash.service.system.impl.ConstantFactory; | ||
|
||
/** | ||
* @author :enilu | ||
* @date :Created in 2020/4/26 19:07 | ||
*/ | ||
public abstract class BaseCache implements Cache { | ||
@Override | ||
public void cache() { | ||
SpringContextHolder.getBean(ConstantFactory.class).cleanLocalCache(); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters