Package org.flowable.common.spring.async
Class SpringAsyncTaskExecutor
java.lang.Object
org.flowable.common.spring.async.SpringAsyncTaskExecutor
- All Implemented Interfaces:
org.flowable.common.engine.api.async.AsyncTaskExecutor
public class SpringAsyncTaskExecutor
extends Object
implements org.flowable.common.engine.api.async.AsyncTaskExecutor
- Author:
- Filip Hrisafov, Joram Barrez
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final org.springframework.core.task.AsyncListenableTaskExecutorprotected final boolean -
Constructor Summary
ConstructorsConstructorDescriptionSpringAsyncTaskExecutor(org.springframework.core.task.AsyncListenableTaskExecutor asyncTaskExecutor) -
Method Summary
Modifier and TypeMethodDescriptionvoidorg.springframework.core.task.AsyncListenableTaskExecutorintvoidshutdown()<T> CompletableFuture<T>
-
Field Details
-
asyncTaskExecutor
protected final org.springframework.core.task.AsyncListenableTaskExecutor asyncTaskExecutor -
isAsyncTaskExecutorAopProxied
protected final boolean isAsyncTaskExecutorAopProxied
-
-
Constructor Details
-
SpringAsyncTaskExecutor
public SpringAsyncTaskExecutor(org.springframework.core.task.AsyncListenableTaskExecutor asyncTaskExecutor)
-
-
Method Details
-
execute
- Specified by:
executein interfaceorg.flowable.common.engine.api.async.AsyncTaskExecutor
-
submit
- Specified by:
submitin interfaceorg.flowable.common.engine.api.async.AsyncTaskExecutor
-
submit
- Specified by:
submitin interfaceorg.flowable.common.engine.api.async.AsyncTaskExecutor
-
shutdown
public void shutdown()- Specified by:
shutdownin interfaceorg.flowable.common.engine.api.async.AsyncTaskExecutor
-
getAsyncTaskExecutor
public org.springframework.core.task.AsyncListenableTaskExecutor getAsyncTaskExecutor() -
getRemainingCapacity
public int getRemainingCapacity()- Specified by:
getRemainingCapacityin interfaceorg.flowable.common.engine.api.async.AsyncTaskExecutor
-