setTimeToLiveEnablesCachingWithTimeToLive() — spring-boot Function Reference
Architecture documentation for the setTimeToLiveEnablesCachingWithTimeToLive() function in SoftReferenceConfigurationPropertyCacheTests.java from the spring-boot codebase.
Entity Profile
Dependency Diagram
graph TD 321efcfb_1fb2_6b5d_3916_e9b3a8d772c9["setTimeToLiveEnablesCachingWithTimeToLive()"] 0dd19186_c37d_5ce6_8d1f_45d7ca24aaba["get()"] 321efcfb_1fb2_6b5d_3916_e9b3a8d772c9 -->|calls| 0dd19186_c37d_5ce6_8d1f_45d7ca24aaba 94a887e5_77fb_c134_fd9d_6bdfe637a1fd["assertCounts()"] 321efcfb_1fb2_6b5d_3916_e9b3a8d772c9 -->|calls| 94a887e5_77fb_c134_fd9d_6bdfe637a1fd c56be156_978e_fe68_b642_d5efd67ff841["tick()"] 321efcfb_1fb2_6b5d_3916_e9b3a8d772c9 -->|calls| c56be156_978e_fe68_b642_d5efd67ff841 style 321efcfb_1fb2_6b5d_3916_e9b3a8d772c9 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
core/spring-boot/src/test/java/org/springframework/boot/context/properties/source/SoftReferenceConfigurationPropertyCacheTests.java lines 70–78
@Test
void setTimeToLiveEnablesCachingWithTimeToLive() {
this.cache.setTimeToLive(Duration.ofDays(1));
get(this.cache).assertCounts(0, 0);
tick(Duration.ofHours(2));
get(this.cache).assertCounts(0, 0);
tick(Duration.ofDays(2));
get(this.cache).assertCounts(0, 1);
}
Domain
Subdomains
Source
Frequently Asked Questions
What does setTimeToLiveEnablesCachingWithTimeToLive() do?
setTimeToLiveEnablesCachingWithTimeToLive() is a function in the spring-boot codebase.
What does setTimeToLiveEnablesCachingWithTimeToLive() call?
setTimeToLiveEnablesCachingWithTimeToLive() calls 3 function(s): assertCounts, get, tick.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free