[jira] Created: (JCS-57) How to delete auxillary disk files and the directory during shutdown

"Hari (JIRA)" <[email protected]> Wed, 1 Apr 2009 12:33:13 -0700 (PDT)
Newsgroups gmane.comp.jakarta.turbine.jcs.devel
Message-ID <1402932999.1238614393207.JavaMail.jira@brutus>
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.