/// <summary> Returns a thread-safe cache backed by the specified cache. /// In order to guarantee thread-safety, all access to the backed cache must /// be accomplished through the returned cache. /// </summary> public static Cache <TKey, TValue> SynchronizedCache(Cache <TKey, TValue> cache) { return(cache.GetSynchronizedCache()); }
/// <summary> Returns a thread-safe cache backed by the specified cache. /// In order to guarantee thread-safety, all access to the backed cache must /// be accomplished through the returned cache. /// </summary> public static Cache SynchronizedCache(Cache cache) { return cache.GetSynchronizedCache(); }
/// <summary> Returns a thread-safe cache backed by the specified cache. /// In order to guarantee thread-safety, all access to the backed cache must /// be accomplished through the returned cache. /// </summary> public static Cache <K, V> SynchronizedCache(Cache <K, V> cache) { return(cache.GetSynchronizedCache()); }