Update of /cvsroot/springnet/Spring.Net/doc/reference/src
In directory sc8-pr-cvs8.sourceforge.net:/tmp/cvs-serv23418
Modified Files:
aop-aspect-library.xml
Log Message:
comment out pre-build event for anltr since it is not shipped in end user distribution
remove SlidingExpiration and Priority from Cache attributes in SpringAir
change TimeToLive value in SpringAir from int to string
update docs on TimeToLive string value for cache aspect.
Index: aop-aspect-library.xml
===================================================================
RCS file: /cvsroot/springnet/Spring.Net/doc/reference/src/aop-aspect-library.xml,v
retrieving revision 1.8
retrieving revision 1.9
diff -C2 -d -r1.8 -r1.9
*** aop-aspect-library.xml 11 Oct 2007 16:05:49 -0000 1.8
--- aop-aspect-library.xml 11 Oct 2007 17:59:15 -0000 1.9
***************
*** 166,170 ****
interface with the method GetAirport(long id).</para>
! <programlisting> [CacheResult("AspNetCache", "'Airport.Id=' + #id", TimeToLive = 60)]
public Airport GetAirport(long id)
{
--- 166,170 ----
interface with the method GetAirport(long id).</para>
! <programlisting> [CacheResult("AspNetCache", "'Airport.Id=' + #id", TimeToLive = "0:1:0")]
public Airport GetAirport(long id)
{
***************
*** 190,194 ****
<property name="SlidingExpiration" value="true"/>
<property name="Priority" value="CachePriority.Low"/>
! <property name="TimeToLive" value="120"/>
</object>
--- 190,194 ----
<property name="SlidingExpiration" value="true"/>
<property name="Priority" value="CachePriority.Low"/>
! <property name="TimeToLive" value="00:02:00"/>
</object>
|