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 |
protected boolean |
isAsyncTaskExecutorAopProxied |
| 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() |
int |
getRemainingCapacity() |
void |
shutdown() |
<T> CompletableFuture<T> |
submit(Callable<T> task) |
CompletableFuture<?> |
submit(Runnable task) |
protected final org.springframework.core.task.AsyncListenableTaskExecutor asyncTaskExecutor
protected final boolean isAsyncTaskExecutorAopProxied
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()
public int getRemainingCapacity()
getRemainingCapacity in interface org.flowable.common.engine.api.async.AsyncTaskExecutorCopyright © 2021 Flowable. All rights reserved.