Update of /cvsroot/springnet/Spring.Net/src/Spring/Spring.Core/Caching
In directory sc8-pr-cvs8.sourceforge.net:/tmp/cvs-serv17498
Modified Files:
AbstractCache.cs
Log Message:
docs for retry and logging aspects.
mis code cleanup.
Index: AbstractCache.cs
===================================================================
RCS file: /cvsroot/springnet/Spring.Net/src/Spring/Spring.Core/Caching/AbstractCache.cs,v
retrieving revision 1.6
retrieving revision 1.7
diff -C2 -d -r1.6 -r1.7
*** AbstractCache.cs 27 Aug 2007 09:38:11 -0000 1.6
--- AbstractCache.cs 11 Oct 2007 01:29:49 -0000 1.7
***************
*** 33,39 ****
--- 33,45 ----
public abstract class AbstractCache : ICache
{
+ #region Fields
+
private bool _enforceTimeToLive = false;
private TimeSpan _timeToLive = TimeSpan.Zero;
+ #endregion
+
+ #region Properties
+
/// <summary>
/// Gets/Set the Default time-to-live (TTL) for items inserted into this cache.
***************
*** 57,60 ****
--- 63,72 ----
}
+ #endregion
+
+ #region ICache Implementation
+
+ #region
+
/// <summary>
/// Gets the number of items in the cache.
***************
*** 76,79 ****
--- 88,93 ----
public abstract ICollection Keys { get; }
+
+
/// <summary>
/// Retrieves an item from the cache.
***************
*** 161,164 ****
--- 175,184 ----
}
+ #endregion
+
+ #endregion
+
+ #region Methods
+
/// <summary>
/// Actually does the cache implementation specific insert operation into the cache.
***************
*** 177,180 ****
--- 197,202 ----
/// </param>
protected abstract void DoInsert(object key, object value, TimeSpan timeToLive);
+
+ #endregion
}
}
\ No newline at end of file
|