Uploaded image for project: 'Commons JCS'
  1. Commons JCS
  2. JCS-57

How to delete auxillary disk files and the directory during shutdown

    XMLWordPrintableJSON

Details

    • Question
    • Status: Closed
    • Major
    • Resolution: Fixed
    • jcs-1.3
    • None
    • Indexed Disk Cache
    • None
    • JRE 1.6, JCS1.3

    Description

      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.

      Attachments

        Activity

          People

            asmuts Aaron Smuts
            hpabbati Hari
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: