Class DefaultAsyncTaskInvoker
- java.lang.Object
-
- org.flowable.common.engine.impl.async.DefaultAsyncTaskInvoker
-
- All Implemented Interfaces:
AsyncTaskInvoker
public class DefaultAsyncTaskInvoker extends Object implements AsyncTaskInvoker
- Author:
- Filip Hrisafov
-
-
Field Summary
Fields Modifier and Type Field Description protected org.slf4j.Loggerloggerprotected AsyncTaskExecutortaskExecutor
-
Constructor Summary
Constructors Constructor Description DefaultAsyncTaskInvoker(AsyncTaskExecutor taskExecutor)
-
-
-
Field Detail
-
logger
protected final org.slf4j.Logger logger
-
taskExecutor
protected final AsyncTaskExecutor taskExecutor
-
-
Constructor Detail
-
DefaultAsyncTaskInvoker
public DefaultAsyncTaskInvoker(AsyncTaskExecutor taskExecutor)
-
-
Method Detail
-
submit
public <T> CompletableFuture<T> submit(Callable<T> task)
- Specified by:
submitin interfaceAsyncTaskInvoker
-
-