Home / Function/ getCache() — spring-boot Function Reference

getCache() — spring-boot Function Reference

Architecture documentation for the getCache() function in JavaBeanBinder.java from the spring-boot codebase.

Function java GradlePlugin DslExtensions calls 1 called by 2

Entity Profile

Dependency Diagram

graph TD
  61c1904e_02b6_01dc_4527_c7e4556c5cc1["getCache()"]
  ed1181ba_42a8_e400_bc90_2af1f176caff["getHasKnownBindablePropertiesCache()"]
  ed1181ba_42a8_e400_bc90_2af1f176caff -->|calls| 61c1904e_02b6_01dc_4527_c7e4556c5cc1
  7c9243c3_087f_8f36_f31b_4fafbe79db95["get()"]
  7c9243c3_087f_8f36_f31b_4fafbe79db95 -->|calls| 61c1904e_02b6_01dc_4527_c7e4556c5cc1
  6a72022e_f2f8_697c_c37b_c8e77e103247["get()"]
  61c1904e_02b6_01dc_4527_c7e4556c5cc1 -->|calls| 6a72022e_f2f8_697c_c37b_c8e77e103247
  style 61c1904e_02b6_01dc_4527_c7e4556c5cc1 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

core/spring-boot/src/main/java/org/springframework/boot/context/properties/bind/JavaBeanBinder.java lines 306–314

		@SuppressWarnings("unchecked")
		private static Map<CacheKey, Bean<?>> getCache(Context context) {
			Map<CacheKey, Bean<?>> cache = (Map<CacheKey, Bean<?>>) context.getCache().get(Bean.class);
			if (cache == null) {
				cache = new ConcurrentHashMap<>();
				context.getCache().put(Bean.class, cache);
			}
			return cache;
		}

Domain

Subdomains

Calls

Frequently Asked Questions

What does getCache() do?
getCache() is a function in the spring-boot codebase.
What does getCache() call?
getCache() calls 1 function(s): get.
What calls getCache()?
getCache() is called by 2 function(s): get, getHasKnownBindablePropertiesCache.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free