Exemplo n.º 1
0
		/// <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();
		}
Exemplo n.º 2
0
			internal SynchronizedCache_Renamed_Class(Cache cache, System.Object mutex)
			{
				this.cache = cache;
				this.mutex = mutex;
			}
Exemplo n.º 3
0
			internal SynchronizedCache_Renamed_Class(Cache cache)
			{
				this.cache = cache;
				this.mutex = this;
			}
Exemplo n.º 4
0
 /// <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());
 }
Exemplo n.º 5
0
 internal SynchronizedCache_Renamed_Class(Cache cache, System.Object mutex)
 {
     this.cache = cache;
     this.mutex = mutex;
 }
Exemplo n.º 6
0
 internal SynchronizedCache_Renamed_Class(Cache cache)
 {
     this.cache = cache;
     this.mutex = this;
 }