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

echo() — spring-boot Function Reference

Architecture documentation for the echo() function in TaskExecutionAutoConfigurationTests.java from the spring-boot codebase.

Entity Profile

Dependency Diagram

graph TD
  3a0b6f5c_23bb_35ca_8259_0689467ae930["echo()"]
  cdd7cf4f_3684_4a7f_e4ac_a264e7b59743["enableAsyncUsesAutoConfiguredOneByDefault()"]
  cdd7cf4f_3684_4a7f_e4ac_a264e7b59743 -->|calls| 3a0b6f5c_23bb_35ca_8259_0689467ae930
  490e1058_92e3_c234_fc27_cf61c4668476["enableAsyncUsesCustomExecutorIfPresent()"]
  490e1058_92e3_c234_fc27_cf61c4668476 -->|calls| 3a0b6f5c_23bb_35ca_8259_0689467ae930
  972b406e_4633_e974_ccb0_1b2e249a72b0["enableAsyncUsesAutoConfiguredExecutorWhenModeIsForceAndHasCustomTaskExecutor()"]
  972b406e_4633_e974_ccb0_1b2e249a72b0 -->|calls| 3a0b6f5c_23bb_35ca_8259_0689467ae930
  25377457_ac73_05ed_9428_c6633108983f["enableAsyncUsesAutoConfiguredExecutorWhenModeIsForceAndHasCustomTaskExecutorWithReservedName()"]
  25377457_ac73_05ed_9428_c6633108983f -->|calls| 3a0b6f5c_23bb_35ca_8259_0689467ae930
  d86b127b_4f40_49ca_4ca1_b2f4ede2169a["enableAsyncUsesAsyncConfigurerWhenModeIsForce()"]
  d86b127b_4f40_49ca_4ca1_b2f4ede2169a -->|calls| 3a0b6f5c_23bb_35ca_8259_0689467ae930
  2107c915_203f_9115_4ec2_6f45a9eff058["enableAsyncLinksToCustomTaskExecutorWhenAsyncConfigurerOverridesIt()"]
  2107c915_203f_9115_4ec2_6f45a9eff058 -->|calls| 3a0b6f5c_23bb_35ca_8259_0689467ae930
  8b1c8d09_c1b9_03c4_2e93_5a7606221624["enableAsyncLinksToApplicationTaskExecutorWhenAsyncConfigurerDoesNotOverrideIt()"]
  8b1c8d09_c1b9_03c4_2e93_5a7606221624 -->|calls| 3a0b6f5c_23bb_35ca_8259_0689467ae930
  147eccd2_e28e_2269_64be_ec844f3cba75["enableAsyncUsesAutoConfiguredExecutorWhenModeIsForceAndHasPrimaryCustomTaskExecutor()"]
  147eccd2_e28e_2269_64be_ec844f3cba75 -->|calls| 3a0b6f5c_23bb_35ca_8259_0689467ae930
  b2fe0607_bf1c_5d35_8bc4_fac7f6ae9e68["enableAsyncUsesAutoConfiguredOneByDefaultEvenThoughSchedulingIsConfigured()"]
  b2fe0607_bf1c_5d35_8bc4_fac7f6ae9e68 -->|calls| 3a0b6f5c_23bb_35ca_8259_0689467ae930
  style 3a0b6f5c_23bb_35ca_8259_0689467ae930 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

core/spring-boot-autoconfigure/src/test/java/org/springframework/boot/autoconfigure/task/TaskExecutionAutoConfigurationTests.java lines 664–667

		@Async
		Future<String> echo(String text) {
			return CompletableFuture.completedFuture(Thread.currentThread().getName() + " " + text);
		}

Domain

Subdomains

Called By

  • enableAsyncLinksToApplicationTaskExecutorWhenAsyncConfigurerDoesNotOverrideIt()
  • enableAsyncLinksToCustomTaskExecutorWhenAsyncConfigurerOverridesIt()
  • enableAsyncUsesAsyncConfigurerWhenModeIsForce()
  • enableAsyncUsesAutoConfiguredExecutorWhenModeIsForceAndHasCustomTaskExecutor()
  • enableAsyncUsesAutoConfiguredExecutorWhenModeIsForceAndHasCustomTaskExecutorWithReservedName()
  • enableAsyncUsesAutoConfiguredExecutorWhenModeIsForceAndHasPrimaryCustomTaskExecutor()
  • enableAsyncUsesAutoConfiguredOneByDefault()
  • enableAsyncUsesAutoConfiguredOneByDefaultEvenThoughSchedulingIsConfigured()
  • enableAsyncUsesCustomExecutorIfPresent()

Frequently Asked Questions

What does echo() do?
echo() is a function in the spring-boot codebase.
What calls echo()?
echo() is called by 9 function(s): enableAsyncLinksToApplicationTaskExecutorWhenAsyncConfigurerDoesNotOverrideIt, enableAsyncLinksToCustomTaskExecutorWhenAsyncConfigurerOverridesIt, enableAsyncUsesAsyncConfigurerWhenModeIsForce, enableAsyncUsesAutoConfiguredExecutorWhenModeIsForceAndHasCustomTaskExecutor, enableAsyncUsesAutoConfiguredExecutorWhenModeIsForceAndHasCustomTaskExecutorWithReservedName, enableAsyncUsesAutoConfiguredExecutorWhenModeIsForceAndHasPrimaryCustomTaskExecutor, enableAsyncUsesAutoConfiguredOneByDefault, enableAsyncUsesAutoConfiguredOneByDefaultEvenThoughSchedulingIsConfigured, and 1 more.

Analyze Your Own Codebase

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

Try Supermodel Free