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

taskDecorator() — spring-boot Function Reference

Architecture documentation for the taskDecorator() function in SimpleAsyncTaskExecutorBuilder.java from the spring-boot codebase.

Function java GradlePlugin RunTasks calls 1 called by 2

Entity Profile

Dependency Diagram

graph TD
  76ddaedb_946a_cea3_c4e6_713a44e1e210["taskDecorator()"]
  cf981689_c71e_ae61_c9b6_7be55e514ea0["threadPoolTaskExecutorBuilder()"]
  cf981689_c71e_ae61_c9b6_7be55e514ea0 -->|calls| 76ddaedb_946a_cea3_c4e6_713a44e1e210
  7b72735d_dfdc_afd5_5ba1_8273f261428b["builder()"]
  7b72735d_dfdc_afd5_5ba1_8273f261428b -->|calls| 76ddaedb_946a_cea3_c4e6_713a44e1e210
  613c4bd6_9ee6_c1f5_02d4_cb07c9b83540["SimpleAsyncTaskExecutorBuilder()"]
  76ddaedb_946a_cea3_c4e6_713a44e1e210 -->|calls| 613c4bd6_9ee6_c1f5_02d4_cb07c9b83540
  style 76ddaedb_946a_cea3_c4e6_713a44e1e210 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

core/spring-boot/src/main/java/org/springframework/boot/task/SimpleAsyncTaskExecutorBuilder.java lines 156–160

	public SimpleAsyncTaskExecutorBuilder taskDecorator(@Nullable TaskDecorator taskDecorator) {
		return new SimpleAsyncTaskExecutorBuilder(this.virtualThreads, this.threadNamePrefix,
				this.cancelRemainingTasksOnClose, this.rejectTasksWhenLimitReached, this.concurrencyLimit,
				taskDecorator, this.customizers, this.taskTerminationTimeout);
	}

Domain

Subdomains

Frequently Asked Questions

What does taskDecorator() do?
taskDecorator() is a function in the spring-boot codebase.
What does taskDecorator() call?
taskDecorator() calls 1 function(s): SimpleAsyncTaskExecutorBuilder.
What calls taskDecorator()?
taskDecorator() is called by 2 function(s): builder, threadPoolTaskExecutorBuilder.

Analyze Your Own Codebase

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

Try Supermodel Free