DescriptionThis change adds configuration options to expire content based on
LastAccessTime and/or LastModifiedTime. Each allows two different
forms of specification:
- Expire content older than some specific date. (Absolute)
- Expire content older than some number of days. (Relative)
The configuration parameters are:
filesystemadaptor.lastAccessedDate - Absolute last accessed time expiration
filesystemadaptor.lastAccessedDays - Relative last accessed time expiration
filesystemadaptor.lastModifiedDate - Absolute last modified time expiration
filesystemadaptor.lastModifiedDays - Relative last modified time expiration
Values for the Relative forms of configuration are positive integer
number of days. For instance:
filesystemadaptor.lastAccessedDays=365
would expire content that had not been accessed for a year.
Values for the Absolute forms of configuration are ISO8601 date
only format strings: yyyy-MM-dd. For instance:
filesystemadaptor.lastModifiedDate=2010-06-01
would expire content that had not been modified since the beginning
of June 2010.
Patch Set 1 #
Total comments: 9
Patch Set 2 : Update overview documentation. #
Total comments: 6
Patch Set 3 : Feedback and fixed long lines in the tests. #Patch Set 4 : No future termination dates, John Connor. #
Total comments: 4
Patch Set 5 : Move SimpleDateFormat to a local variable to avoid thread safety issues. #
MessagesTotal messages: 17
|
|||||||||||||||||||||||||||||||||||||