Ejemplo n.º 1
0
 public static object GetCacheEntryLock(string key, int refreshIntervalSeconds, int slidingExpirationSeconds, CacheLoaderDelegate loaderDelegate)
 {
     return(CacheLockbox.GetLock(key, TimeSpan.FromSeconds((double)(refreshIntervalSeconds * Factor)), TimeSpan.FromSeconds((double)(slidingExpirationSeconds * Factor)), loaderDelegate));
 }
Ejemplo n.º 2
0
 public static object GetCacheEntryLock(string key, TimeSpan refreshInterval, TimeSpan slidingExpiration, CacheLoaderDelegate loaderDelegate)
 {
     return(CacheLockbox.GetLock(key, refreshInterval, slidingExpiration, loaderDelegate));
 }
Ejemplo n.º 3
0
 public static object GetCacheEntryLock(string key)
 {
     return(CacheLockbox.GetLock(key));
 }