Uploaded image for project: 'Drools'
  1. Drools
  2. DROOLS-1443

Improve effect of caching in ChainedProperties.

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Done
    • Minor
    • 7.0.0.Beta7
    • None
    • core engine
    • None
    • NEW
    • NEW

    Description

      The ChainedProperties utility has a caching setting that will cache the classpath discovery of property resource - but not the parsing of these resources.

      This utility is a hot spot for the initialization of runtime environments - caching the parsed properties instead of the resource url will improve runtime performance.

      Changing the caching strategy will make hot changes to classpath property resources impossible. File based property files could be made safe cacheable by investigating file metadata and only read if changed.

      Attachments

        Activity

          People

            mfusco@redhat.com Mario Fusco
            hans_lund Hans Lund (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: