You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jcs-dev@jakarta.apache.org by "Hari (JIRA)" <ji...@apache.org> on 2009/04/01 21:33:13 UTC
[jira] Created: (JCS-57) How to delete auxillary disk files and the
directory during shutdown
How to delete auxillary disk files and the directory during shutdown
--------------------------------------------------------------------
Key: JCS-57
URL: https://issues.apache.org/jira/browse/JCS-57
Project: JCS
Issue Type: Question
Components: Indexed Disk Cache
Affects Versions: jcs-1.3
Environment: JRE 1.6, JCS1.3
Reporter: Hari
Assignee: Aaron Smuts
Hi,
I am using JCS for caching large amounts of data (over 500M) onto the disk using auxillary caching mechanism of JCS. I could have multiple sessions of our software running on the same PC, hence I chose to dynamically configure the value of attribute "jcs.auxiliary.DC.attributes.DiskPath" for each session. But when the JVM dies or when user exists, I would like to delete the entire directory that is used for storing the disk cache. Is there a way I can do that without changing JCS source code myself.
Thank you very much and your help is very much appreciated.
Hari.
--
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
[jira] Closed: (JCS-57) How to delete auxillary disk files and the
directory during shutdown
Posted by "Aaron Smuts (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/JCS-57?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Aaron Smuts closed JCS-57.
--------------------------
Resolution: Fixed
I added an option to delete all the data on startup.
> How to delete auxillary disk files and the directory during shutdown
> --------------------------------------------------------------------
>
> Key: JCS-57
> URL: https://issues.apache.org/jira/browse/JCS-57
> Project: JCS
> Issue Type: Question
> Components: Indexed Disk Cache
> Affects Versions: jcs-1.3
> Environment: JRE 1.6, JCS1.3
> Reporter: Hari
> Assignee: Aaron Smuts
>
> Hi,
> I am using JCS for caching large amounts of data (over 500M) onto the disk using auxillary caching mechanism of JCS. I could have multiple sessions of our software running on the same PC, hence I chose to dynamically configure the value of attribute "jcs.auxiliary.DC.attributes.DiskPath" for each session. But when the JVM dies or when user exists, I would like to delete the entire directory that is used for storing the disk cache. Is there a way I can do that without changing JCS source code myself.
> Thank you very much and your help is very much appreciated.
> Hari.
--
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