RE: [jira] Commented: (JCS-58) disc file cache

"Tim Cronin" <[email protected]> Mon, 26 Oct 2009 14:20:07 -0700
Newsgroups gmane.comp.jakarta.turbine.jcs.devel
Message-ID <[email protected]>
>It simply replaces all strange characters and spaces with underscores.


Why spaces if the os supports it or even strange chars if the os
supports non ascii encodings?

You can end up causing collisions with that type of replace.

-----Original Message-----
From: Aaron Smuts (JIRA) [mailto:[email protected]]=20
Sent: Monday, October 26, 2009 3:53 PM
To: [email protected]
Subject: [jira] Commented: (JCS-58) disc file cache


    [
https://issues.apache.org/jira/browse/JCS-58?page=3Dcom.atlassian.jira.pl=
u
gin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D12770189#ac=
t
ion_12770189 ]=20

Aaron Smuts commented on JCS-58:
--------------------------------

Please send questions like this to the mailing list. =20

Read the documentation.  This disk cache is like any other.  You
configure JCS to use it in the cache.ccf file just like any other disk
cache. =20

If you want to create files outside of JCS, we'll have to expose a
utility for creating the names.  The algorithm is simply though.  It
simply replaces all strange characters and spaces with underscores. =20

Please post to the user mailing list.

> 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.=20

--=20
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: [email protected]
For additional commands, e-mail: [email protected]