Skip to content

Allow for CachingMetadataReaderFactory cache size to be easily updated [SPR-15278] #19844

Closed as not planned

Description

@spring-projects-issues

Mikhail Dobrinin opened SPR-15278 and commented

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.


Affects: 4.2.9

Issue Links:

Activity

  1. added
    type: enhancement
    in: core
    on Jan 11, 2019
  2. jhoeller commented on Aug 7, 2023

    @jhoeller
    Contributor

    Effectively superseded by the specifically managed context-level cache in #19219: for AnnotationConfigApplicationContext usage, a locally configured cache limit will not be used anymore to begin with.

  3. added
    status: superseded
    on Aug 7, 2023
  4. removed this from the General Backlog milestone on Aug 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    in: corestatus: supersededtype: enhancement

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions