Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/system-design/framework/spring/Async.md
Original file line number Diff line number Diff line change
Expand Up @@ -441,7 +441,7 @@ Callable<Object> task = () -> {

#### 3、提交异步任务

`AsyncExecutionInterceptor # invoke()` 中将要执行的方法封装为 Callable 任务之后,就会将任务交给执行器来执行。提交相关的代码如下:
`AsyncExecutionInterceptor#invoke()` 中将要执行的方法封装为 Callable 任务之后,就会将任务交给执行器来执行。提交相关的代码如下:

```JAVA
protected Object doSubmit(Callable<Object> task, AsyncTaskExecutor executor, Class<?> returnType) {
Expand Down
2 changes: 1 addition & 1 deletion docs/system-design/framework/spring/async.md
Original file line number Diff line number Diff line change
Expand Up @@ -441,7 +441,7 @@ Callable<Object> task = () -> {

#### 3、提交异步任务

在 `AsyncExecutionInterceptor # invoke()` 中将要执行的方法封装为 Callable 任务之后,就会将任务交给执行器来执行。提交相关的代码如下:
在 `AsyncExecutionInterceptor#invoke()` 中将要执行的方法封装为 Callable 任务之后,就会将任务交给执行器来执行。提交相关的代码如下:

```JAVA
protected Object doSubmit(Callable<Object> task, AsyncTaskExecutor executor, Class<?> returnType) {
Expand Down