init
This commit is contained in:
commit
e124a47765
19374 changed files with 9806149 additions and 0 deletions
21
Kreta.Job.Tasks/ConnectionStringCacheJob.cs
Normal file
21
Kreta.Job.Tasks/ConnectionStringCacheJob.cs
Normal file
|
@ -0,0 +1,21 @@
|
|||
using Kreta.Framework;
|
||||
using Kreta.Job.Tasks.Core;
|
||||
using Kreta.KretaServer.Caching;
|
||||
|
||||
namespace Kreta.Job.Tasks
|
||||
{
|
||||
public class ConnectionStringCacheJob : IConnectionStringCacheJob
|
||||
{
|
||||
private readonly ConnectionStringCache ConnectionStringCache;
|
||||
|
||||
public ConnectionStringCacheJob()
|
||||
{
|
||||
ConnectionStringCache = SDAServer.Instance.CacheManager.AquireCache<ConnectionStringCache>();
|
||||
}
|
||||
|
||||
public void ResetAllConnectionString()
|
||||
{
|
||||
ConnectionStringCache.ResetCache();
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue