Method | Description | |
---|---|---|
Lock ( string resourceName ) : bool | ||
Lock ( string resourceName, int retryCount, System.TimeSpan retryDelay ) : bool | ||
MemcachedCacheLock ( |
||
UnLock ( string resourceName ) : void |
Method | Description | |
---|---|---|
GetLockKey ( string resourceName ) : string | ||
RetryLock ( string resourceName, int retryCount, System.TimeSpan retryDelay, Func |
public Lock ( string resourceName, int retryCount, System.TimeSpan retryDelay ) : bool | ||
resourceName | string | |
retryCount | int | |
retryDelay | System.TimeSpan | |
return | bool |
public MemcachedCacheLock ( |
||
strategy | ||
resourceName | string | |
key | string | |
retryCount | int | |
retryDelay | System.TimeSpan | |
return | System |