I added a JDK 1.4 compliant version. It's very loosely based on the code in JCS-58. Please take a look. This is still a rough draft.
Aaron --- On Wed, 6/17/09, Aaron Smuts (JIRA) <j...@apache.org> wrote: > From: Aaron Smuts (JIRA) <j...@apache.org> > Subject: [jira] Commented: (JCS-58) disc file cache > To: jcs-dev@jakarta.apache.org > Date: Wednesday, June 17, 2009, 1:48 PM > > [ > https://issues.apache.org/jira/browse/JCS-58?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12720884#action_12720884 > ] > > Aaron Smuts commented on JCS-58: > -------------------------------- > > This might be useful for regions without many items. > I'll work on something based on the ideas here. But > the patch is not usable as it. It depends on JDK 1.5 > specific classes. JCS is compatible with JDK > 1.4. > > A few minor things for future reference: All methods need > full comments. All methods need unit tests. > Everything should be formatted according to our style. > > Thanks for idea. > > > disc file cache > > --------------- > > > > > Key: JCS-58 > > > URL: https://issues.apache.org/jira/browse/JCS-58 > > > Project: JCS > > Issue Type: New > Feature > > Affects Versions: jcs-1.3 > > Reporter: > Tore Halset > > Assignee: > Aaron Smuts > > > Fix For: jcs-1.4-dev > > > > Attachments: > DiskFileCache.java, DiskFileCacheAttributes.java, > DiskFileCacheFactory.java > > > > > > It would be nice to have a file based cache in jcs > where each item is stored as a single file and the filename > is based on the key. This way, several jvms can share the > same cache and the cache can be rsynced between nodes while > running the application. > > -- > This message is automatically generated by JIRA. > - > You can reply to this email to add a comment to the issue > online. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: jcs-dev-unsubscr...@jakarta.apache.org > For additional commands, e-mail: jcs-dev-h...@jakarta.apache.org > > --------------------------------------------------------------------- To unsubscribe, e-mail: jcs-dev-unsubscr...@jakarta.apache.org For additional commands, e-mail: jcs-dev-h...@jakarta.apache.org