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

forEach() — spring-boot Function Reference

Architecture documentation for the forEach() function in ConfigurationPropertySourcesCaching.java from the spring-boot codebase.

Entity Profile

Dependency Diagram

graph TD
  9dd87e9b_ec74_7d3f_03ab_d0757bfd30ab["forEach()"]
  ba49dabb_85e8_39d4_ca55_cb35a787a0e3["enable()"]
  ba49dabb_85e8_39d4_ca55_cb35a787a0e3 -->|calls| 9dd87e9b_ec74_7d3f_03ab_d0757bfd30ab
  3a9d71d0_b93d_74f3_c47c_c0dce9a893fd["disable()"]
  3a9d71d0_b93d_74f3_c47c_c0dce9a893fd -->|calls| 9dd87e9b_ec74_7d3f_03ab_d0757bfd30ab
  67bce084_04ec_0f75_8c16_f28e3de0adaa["setTimeToLive()"]
  67bce084_04ec_0f75_8c16_f28e3de0adaa -->|calls| 9dd87e9b_ec74_7d3f_03ab_d0757bfd30ab
  6cbabc07_602c_1a9b_13c4_37a2cd77dee6["clear()"]
  6cbabc07_602c_1a9b_13c4_37a2cd77dee6 -->|calls| 9dd87e9b_ec74_7d3f_03ab_d0757bfd30ab
  9ecce339_0190_51b7_aa1a_7125cabb894e["override()"]
  9ecce339_0190_51b7_aa1a_7125cabb894e -->|calls| 9dd87e9b_ec74_7d3f_03ab_d0757bfd30ab
  e0e34c43_9abd_9fe9_6ac8_457c08eeceef["close()"]
  e0e34c43_9abd_9fe9_6ac8_457c08eeceef -->|calls| 9dd87e9b_ec74_7d3f_03ab_d0757bfd30ab
  style 9dd87e9b_ec74_7d3f_03ab_d0757bfd30ab fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

core/spring-boot/src/main/java/org/springframework/boot/context/properties/source/ConfigurationPropertySourcesCaching.java lines 67–76

	private void forEach(Consumer<ConfigurationPropertyCaching> action) {
		if (this.sources != null) {
			for (ConfigurationPropertySource source : this.sources) {
				ConfigurationPropertyCaching caching = CachingConfigurationPropertySource.find(source);
				if (caching != null) {
					action.accept(caching);
				}
			}
		}
	}

Domain

Subdomains

Called By

  • clear()
  • close()
  • disable()
  • enable()
  • override()
  • setTimeToLive()

Frequently Asked Questions

What does forEach() do?
forEach() is a function in the spring-boot codebase.
What calls forEach()?
forEach() is called by 6 function(s): clear, close, disable, enable, override, setTimeToLive.

Analyze Your Own Codebase

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

Try Supermodel Free