jakarta-jcs-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tim Cronin" <Tim.Cro...@autonomy.com>
Subject RE: [jira] Commented: (JCS-58) disc file cache
Date Mon, 26 Oct 2009 21:20:07 GMT
>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:jira@apache.org] 
Sent: Monday, October 26, 2009 3:53 PM
To: jcs-dev@jakarta.apache.org
Subject: [jira] Commented: (JCS-58) disc file cache


    [
https://issues.apache.org/jira/browse/JCS-58?page=com.atlassian.jira.plu
gin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12770189#act
ion_12770189 ] 

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

Please send questions like this to the mailing list.  

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.  

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.  

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. 

-- 
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-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jcs-dev-help@jakarta.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: jcs-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jcs-dev-help@jakarta.apache.org


Mime
View raw message