Exemple #1
0
 public override async Task <ICacheLock> BeginCacheLockAsync(string resourceName, string key, int retryCount = 0, TimeSpan retryDelay = new TimeSpan())
 {
     return(await RedisCacheLock.CreateAndLockAsync(this, resourceName, key, retryCount, retryDelay).ConfigureAwait(false));
 }
Exemple #2
0
 public override ICacheLock BeginCacheLock(string resourceName, string key, int retryCount = 0, TimeSpan retryDelay = new TimeSpan())
 {
     return(RedisCacheLock.CreateAndLock(this, resourceName, key, retryCount, retryDelay));
 }