spring-boot/spring-boot-project
Phillip Webb 7afd25fc9a Add ConfigurationPropertyCaching support
Add a `ConfigurationPropertyCaching` utility interface that can be
used to control the property source caching.

Prior to this commit, a `ConfigurationPropertySource` that was backed
by a mutable `EnumerablePropertySource` would need to call the
`getPropertyNames()` method each time a property was accessed. Since
this this operation can be expensive, we now provide a way to cache
the results for a specific length of time.

This commit also improves the performance of immutable property sources
by limiting the number of candidates that need to be searched.
Previously, all mapped names would be enumerated. Now, mappings are
grouped by `ConfigurationPropertyName`. This is especially helpful when
the `ConfigurationPropertyName` isn't mapped at all since the hash based
map lookup will be very fast and the resulting mappings will be empty.

Closes gh-20625
2020-05-07 15:22:24 -07:00
..
spring-boot Add ConfigurationPropertyCaching support 2020-05-07 15:22:24 -07:00
spring-boot-actuator Separate server properties for message and errors 2020-04-29 17:56:47 -05:00
spring-boot-actuator-autoconfigure Simplify ReactiveWebServerApplicationContext.ServerManager 2020-05-05 15:04:09 +01:00
spring-boot-autoconfigure Merge branch '2.2.x' 2020-05-07 14:19:41 +02:00
spring-boot-cli Replace "folder" with "directory" 2020-04-28 19:20:24 -07:00
spring-boot-dependencies Merge branch '2.2.x' 2020-05-07 14:19:41 +02:00
spring-boot-devtools Separate server properties for message and errors 2020-04-29 17:56:47 -05:00
spring-boot-docs Polish 'Add Period converter support' 2020-05-06 00:21:50 -07:00
spring-boot-parent Upgrade to JNA 5.5.0 2020-05-05 12:50:33 -07:00
spring-boot-properties-migrator
spring-boot-starters Upgrade to Saaj Impl 1.5.2 2020-05-06 16:09:17 +02:00
spring-boot-test Replace "folder" with "directory" 2020-04-28 19:20:24 -07:00
spring-boot-test-autoconfigure Add transaction auto-configuration to @DataMongoTest 2020-04-30 15:05:23 +01:00
spring-boot-tools Merge branch '2.2.x' 2020-05-06 17:34:48 +01:00