Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[#196/#197] implement caching for unproxy results #198

Merged

Commits on Apr 3, 2024

  1. Create UnproxyResultStore

    - Used to store the result BeanUnproxy#unproxy(Class)-calls.
    - Available as a singleton, as the results of BeanUnproxy#unproxy(Class) are deterministic, allowing the cache to be global.
    marcus-talbot42 committed Apr 3, 2024
    Configuration menu
    Copy the full SHA
    8d837fe View commit details
    Browse the repository at this point in the history
  2. Update Logging

    - Updated logging, to prevent premature evaluation of String-formatting during performance logging.
    marcus-talbot42 committed Apr 3, 2024
    Configuration menu
    Copy the full SHA
    2c90197 View commit details
    Browse the repository at this point in the history
  3. Use UnproxyResultStore

    - Updated usages of BeanUnproxy#unproxy(Class), to use UnproxyResultStore#getOrComputeUnproxyResult, which makes use of the global unproxy cache.
    marcus-talbot42 committed Apr 3, 2024
    Configuration menu
    Copy the full SHA
    4d1bf8d View commit details
    Browse the repository at this point in the history
  4. Update CHANGELOG.md

    marcus-talbot42 committed Apr 3, 2024
    Configuration menu
    Copy the full SHA
    c895ae7 View commit details
    Browse the repository at this point in the history
  5. Update UnproxyResultStore

    - Made UnproxyResultStore#getInstance synchronized, for readability.
    - UnproxyResultStore#unproxyResultClassStore is now a ConcurrentHashMap.
    - Instance is no longer volatile.
    marcus-talbot42 committed Apr 3, 2024
    Configuration menu
    Copy the full SHA
    e484de8 View commit details
    Browse the repository at this point in the history
  6. Update BeanMapperPerformanceLogger

    - Added BeanMapperPerformanceLogger#runTimed(Supplier, String, Object...), to allow for just-in-time formatting of log messages.
    marcus-talbot42 committed Apr 3, 2024
    Configuration menu
    Copy the full SHA
    6f52407 View commit details
    Browse the repository at this point in the history