asn缓存工具类添加清除缓存的方法。

asn ip相关配置第一次下发的时候,更新缓存中is_issued字段
This commit is contained in:
wangxin
2018-11-19 16:36:31 +08:00
parent 21dcd430e3
commit 0140a478e2
2 changed files with 7 additions and 77 deletions

View File

@@ -47,6 +47,9 @@ public class AsnCacheUtils{
Element element = getCache(ASN_NO_CACHE).get(key);
return (Map<Long,ConfigGroupInfo>)element.getObjectValue();
}
public static void clearCache() {
CacheUtils.getCacheManager().removeCache(ASN_NO_CACHE);
}
/**
* 初始化缓存
*/