Hi,
I'm trying to write many files to a directory, and when the directory reaches X number of files, I want the least recently accessed file to be deleted before writing the new file. I don't really want to roll my own solution to this because I'd imagine someone else has already done this before. Are there existing solutions to this? Note this is for a windows application.
This is related to my question http://stackoverflow.com/questions/3732582/java-ehcache-disk-store, but I'm asking this question separately since now I'm focusing on a file caching solution.
Thanks, Jeff