添加清理asn号缓存的方法

This commit is contained in:
wangxin
2018-11-21 17:22:59 +08:00
parent 52c2f490cd
commit 3cf0ac91b3
3 changed files with 16 additions and 2 deletions

View File

@@ -48,6 +48,7 @@ public class AsnCacheUtils{
return (Map<Long,ConfigGroupInfo>)element.getObjectValue();
}
public static void clearCache() {
logger.warn("clear cache!");
CacheUtils.getCacheManager().removeCache(ASN_NO_CACHE);
}
/**
@@ -147,4 +148,9 @@ public class AsnCacheUtils{
}
return cache;
}
public static String getCacheName() {
return ASN_NO_CACHE;
}
}