Uploaded image for project: 'OpenJPA'
  1. OpenJPA
  2. OPENJPA-1531

The DataCache EvictionSchedule property should accept other time formats.

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.0.0-beta, 2.0.0-beta2
    • 2.0.0-beta3
    • datacache
    • None

    Description

      Currently the DataCache EvictionSchedule only allows for a CRON style syntax.
      For example: To evict my cache every 10 minutes I would need to set : EvictionSchedule="10,20,30,40,50,60 * * * *"

      I'd like to support an interval syntax which would allow a user to say 'Run every [x] minutes.' After looking through the code it would easy enough to support EvictionSchedule="+[x]". (x in minutes)

      I also found that the testcase for the DataCacheScheduler has never been enabled. I'm not certain whether it wasn't enabled because it takes so long to run, or whether there are other bugs.

      Attachments

        Activity

          People

            curtisr7 Richard G. Curtis
            curtisr7 Richard G. Curtis
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: