You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
762 B
23 lines
762 B
using System; |
|
using System.Collections.Generic; |
|
using System.Text; |
|
|
|
namespace ReZero.SuperAPI |
|
{ |
|
public class CacheCenter |
|
{ |
|
private static readonly object cacheLock = new object(); |
|
public void ClearAllInternalCache() |
|
{ |
|
lock (cacheLock) |
|
{ |
|
CacheManager<ZeroDatabaseInfo>.Instance.ClearCache(); |
|
CacheManager<ZeroInterfaceList>.Instance.ClearCache(); |
|
CacheManager<ZeroEntityInfo>.Instance.ClearCache(); |
|
CacheManager<ZeroJwtTokenManagement>.Instance.ClearCache(); |
|
CacheManager<ZeroPermissionInfo>.Instance.ClearCache(); |
|
CacheManager<ZeroPermissionMapping>.Instance.ClearCache(); |
|
} |
|
} |
|
} |
|
}
|
|
|