configure() — spring-boot Function Reference
Architecture documentation for the configure() function in SimpleAsyncTaskExecutorBuilder.java from the spring-boot codebase.
Entity Profile
Dependency Diagram
graph TD 3a740b36_f2e8_59ea_3402_1d21c7977438["configure()"] da2e3f39_ad84_d584_f8da_479634823e8b["build()"] da2e3f39_ad84_d584_f8da_479634823e8b -->|calls| 3a740b36_f2e8_59ea_3402_1d21c7977438 e0b2c4cf_74c1_fd5a_cead_591297f73c6a["get()"] 3a740b36_f2e8_59ea_3402_1d21c7977438 -->|calls| e0b2c4cf_74c1_fd5a_cead_591297f73c6a 9d2c4199_8539_3d81_204f_90b3526e5d8d["whenHasText()"] 3a740b36_f2e8_59ea_3402_1d21c7977438 -->|calls| 9d2c4199_8539_3d81_204f_90b3526e5d8d 74f78909_084d_0d77_7505_2e246dae050f["to()"] 3a740b36_f2e8_59ea_3402_1d21c7977438 -->|calls| 74f78909_084d_0d77_7505_2e246dae050f style 3a740b36_f2e8_59ea_3402_1d21c7977438 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
core/spring-boot/src/main/java/org/springframework/boot/task/SimpleAsyncTaskExecutorBuilder.java lines 266–279
public <T extends SimpleAsyncTaskExecutor> T configure(T taskExecutor) {
PropertyMapper map = PropertyMapper.get();
map.from(this.virtualThreads).to(taskExecutor::setVirtualThreads);
map.from(this.threadNamePrefix).whenHasText().to(taskExecutor::setThreadNamePrefix);
map.from(this.cancelRemainingTasksOnClose).to(taskExecutor::setCancelRemainingTasksOnClose);
map.from(this.rejectTasksWhenLimitReached).to(taskExecutor::setRejectTasksWhenLimitReached);
map.from(this.concurrencyLimit).to(taskExecutor::setConcurrencyLimit);
map.from(this.taskDecorator).to(taskExecutor::setTaskDecorator);
map.from(this.taskTerminationTimeout).as(Duration::toMillis).to(taskExecutor::setTaskTerminationTimeout);
if (!CollectionUtils.isEmpty(this.customizers)) {
this.customizers.forEach((customizer) -> customizer.customize(taskExecutor));
}
return taskExecutor;
}
Domain
Subdomains
Calls
Called By
Source
Frequently Asked Questions
What does configure() do?
configure() is a function in the spring-boot codebase.
What does configure() call?
configure() calls 3 function(s): get, to, whenHasText.
What calls configure()?
configure() is called by 1 function(s): build.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free