createCustomAsyncExecutor() — spring-boot Function Reference
Architecture documentation for the createCustomAsyncExecutor() function in TaskExecutionAutoConfigurationTests.java from the spring-boot codebase.
Entity Profile
Dependency Diagram
graph TD 262903be_ebf9_67ee_2945_1f960a09caae["createCustomAsyncExecutor()"] 490e1058_92e3_c234_fc27_cf61c4668476["enableAsyncUsesCustomExecutorIfPresent()"] 490e1058_92e3_c234_fc27_cf61c4668476 -->|calls| 262903be_ebf9_67ee_2945_1f960a09caae 972b406e_4633_e974_ccb0_1b2e249a72b0["enableAsyncUsesAutoConfiguredExecutorWhenModeIsForceAndHasCustomTaskExecutor()"] 972b406e_4633_e974_ccb0_1b2e249a72b0 -->|calls| 262903be_ebf9_67ee_2945_1f960a09caae 25377457_ac73_05ed_9428_c6633108983f["enableAsyncUsesAutoConfiguredExecutorWhenModeIsForceAndHasCustomTaskExecutorWithReservedName()"] 25377457_ac73_05ed_9428_c6633108983f -->|calls| 262903be_ebf9_67ee_2945_1f960a09caae d86b127b_4f40_49ca_4ca1_b2f4ede2169a["enableAsyncUsesAsyncConfigurerWhenModeIsForce()"] d86b127b_4f40_49ca_4ca1_b2f4ede2169a -->|calls| 262903be_ebf9_67ee_2945_1f960a09caae 2107c915_203f_9115_4ec2_6f45a9eff058["enableAsyncLinksToCustomTaskExecutorWhenAsyncConfigurerOverridesIt()"] 2107c915_203f_9115_4ec2_6f45a9eff058 -->|calls| 262903be_ebf9_67ee_2945_1f960a09caae 147eccd2_e28e_2269_64be_ec844f3cba75["enableAsyncUsesAutoConfiguredExecutorWhenModeIsForceAndHasPrimaryCustomTaskExecutor()"] 147eccd2_e28e_2269_64be_ec844f3cba75 -->|calls| 262903be_ebf9_67ee_2945_1f960a09caae fb7596a5_b7f6_f228_9660_3657c6609c61["shouldNotAliasApplicationTaskExecutorWhenBootstrapExecutorIsDefined()"] fb7596a5_b7f6_f228_9660_3657c6609c61 -->|calls| 262903be_ebf9_67ee_2945_1f960a09caae 8435425d_5c43_7344_682c_adc9700b33f2["shouldNotAliasApplicationTaskExecutorWhenApplicationTaskExecutorIsMissing()"] 8435425d_5c43_7344_682c_adc9700b33f2 -->|calls| 262903be_ebf9_67ee_2945_1f960a09caae 35621483_2c6d_10d3_ade6_1afb61f1b262["shouldNotAliasApplicationTaskExecutorWhenBootstrapExecutorRegisteredAsSingleton()"] 35621483_2c6d_10d3_ade6_1afb61f1b262 -->|calls| 262903be_ebf9_67ee_2945_1f960a09caae b341b1c3_6808_3e80_61c3_37106c693fa4["shouldNotAliasApplicationTaskExecutorWhenBootstrapExecutorAliasIsDefined()"] b341b1c3_6808_3e80_61c3_37106c693fa4 -->|calls| 262903be_ebf9_67ee_2945_1f960a09caae style 262903be_ebf9_67ee_2945_1f960a09caae 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 591–595
private Executor createCustomAsyncExecutor(String threadNamePrefix) {
SimpleAsyncTaskExecutor executor = new SimpleAsyncTaskExecutor();
executor.setThreadNamePrefix(threadNamePrefix);
return executor;
}
Domain
Subdomains
Called By
- enableAsyncLinksToCustomTaskExecutorWhenAsyncConfigurerOverridesIt()
- enableAsyncUsesAsyncConfigurerWhenModeIsForce()
- enableAsyncUsesAutoConfiguredExecutorWhenModeIsForceAndHasCustomTaskExecutor()
- enableAsyncUsesAutoConfiguredExecutorWhenModeIsForceAndHasCustomTaskExecutorWithReservedName()
- enableAsyncUsesAutoConfiguredExecutorWhenModeIsForceAndHasPrimaryCustomTaskExecutor()
- enableAsyncUsesCustomExecutorIfPresent()
- shouldNotAliasApplicationTaskExecutorWhenApplicationTaskExecutorIsMissing()
- shouldNotAliasApplicationTaskExecutorWhenBootstrapExecutorAliasIsDefined()
- shouldNotAliasApplicationTaskExecutorWhenBootstrapExecutorIsDefined()
- shouldNotAliasApplicationTaskExecutorWhenBootstrapExecutorRegisteredAsSingleton()
Source
Frequently Asked Questions
What does createCustomAsyncExecutor() do?
createCustomAsyncExecutor() is a function in the spring-boot codebase.
What calls createCustomAsyncExecutor()?
createCustomAsyncExecutor() is called by 10 function(s): enableAsyncLinksToCustomTaskExecutorWhenAsyncConfigurerOverridesIt, enableAsyncUsesAsyncConfigurerWhenModeIsForce, enableAsyncUsesAutoConfiguredExecutorWhenModeIsForceAndHasCustomTaskExecutor, enableAsyncUsesAutoConfiguredExecutorWhenModeIsForceAndHasCustomTaskExecutorWithReservedName, enableAsyncUsesAutoConfiguredExecutorWhenModeIsForceAndHasPrimaryCustomTaskExecutor, enableAsyncUsesCustomExecutorIfPresent, shouldNotAliasApplicationTaskExecutorWhenApplicationTaskExecutorIsMissing, shouldNotAliasApplicationTaskExecutorWhenBootstrapExecutorAliasIsDefined, and 2 more.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free