Uploaded image for project: 'Spring Framework'
  1. Spring Framework
  2. SPR-15278

Allow for CachingMetadataReaderFactory cache size to be easily updated

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 4.2.9
    • Fix Version/s: General Backlog
    • Component/s: Core
    • Labels:
      None
    • Last commented by a User:
      true

      Description

      Currently there doesn't appear to be any good way to set the the cache limit (CachingMetadataReaderFactory.setCacheLimit(int)). For example you can't set this limit through AnnotationConfigApplicationContext since the scanner field doesn't have a setter and more importantly is final. This could be a potential setting for certain applications to improve their performance.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              juergen.hoeller Juergen Hoeller
              Reporter:
              mvd Mikhail Dobrinin
              Last updater:
              Spring Issues Spring Issues
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Days since last comment:
                3 years, 29 weeks, 6 days ago