public class SpringAsyncTaskExecutor extends Object implements org.flowable.common.engine.api.async.AsyncTaskExecutor
| Modifier and Type | Field and Description |
|---|---|
protected org.springframework.core.task.AsyncListenableTaskExecutor |
asyncTaskExecutor |
| Constructor and Description |
|---|
SpringAsyncTaskExecutor(org.springframework.core.task.AsyncListenableTaskExecutor asyncTaskExecutor) |
| Modifier and Type | Method and Description |
|---|---|
void |
execute(Runnable task) |
org.springframework.core.task.AsyncListenableTaskExecutor |
getAsyncTaskExecutor() |
void |
shutdown() |
<T> CompletableFuture<T> |
submit(Callable<T> task) |
CompletableFuture<?> |
submit(Runnable task) |
protected final org.springframework.core.task.AsyncListenableTaskExecutor asyncTaskExecutor
public SpringAsyncTaskExecutor(org.springframework.core.task.AsyncListenableTaskExecutor asyncTaskExecutor)
public void execute(Runnable task)
execute in interface org.flowable.common.engine.api.async.AsyncTaskExecutorpublic CompletableFuture<?> submit(Runnable task)
submit in interface org.flowable.common.engine.api.async.AsyncTaskExecutorpublic <T> CompletableFuture<T> submit(Callable<T> task)
submit in interface org.flowable.common.engine.api.async.AsyncTaskExecutorpublic void shutdown()
shutdown in interface org.flowable.common.engine.api.async.AsyncTaskExecutorpublic org.springframework.core.task.AsyncListenableTaskExecutor getAsyncTaskExecutor()
Copyright © 2020 Flowable. All rights reserved.