Exemple #1
0
 public override async Task <ICacheLock> BeginCacheLockAsync(string resourceName, string key, int retryCount = 0, TimeSpan retryDelay = new TimeSpan())
 {
     return(await MemcachedCacheLock.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(MemcachedCacheLock.CreateAndLock(this, resourceName, key, retryCount, retryDelay));
 }