public class AsyncBeanOperationExecutor extends DisorderedBeanOperationExecutor
The asynchronous implementation of BeanOperationExecutor.
It will group the operations to be executed according to the data source container,
then submit them to the executor in turn, and finally complete them asynchronously.
BeanOperationExecutor.OptionsenableExecuteNotActiveOperation| 构造器和说明 |
|---|
AsyncBeanOperationExecutor(ContainerManager containerManager,
Executor executor)
Create an instance of
AsyncBeanOperationExecutor. |
| 限定符和类型 | 方法和说明 |
|---|---|
protected void |
doExecuteOperations(Map<Container<?>,Map<AssembleOperationHandler,List<AssembleExecution>>> executionGroups)
Execute the assembly operation.
|
protected void |
executeOperations(List<AssembleExecution> executions,
BeanOperationExecutor.Options options)
Complete the assembly operation.
|
afterOperationsCompletion, beforeAssembleOperation, filterTargetsForSupportedOperationbeforeDisassembleOperation, createAssembleExecution, doCombineExecutions, doExecute, executeclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitexecute, executegetNamepublic AsyncBeanOperationExecutor(ContainerManager containerManager, Executor executor)
AsyncBeanOperationExecutor.containerManager - container managerexecutor - thread pool used to perform operationsprotected void executeOperations(List<AssembleExecution> executions, BeanOperationExecutor.Options options) throws OperationExecuteException
Complete the assembly operation.
All operations of input parameters ensure their orderliness in the same class.
For example, if there are ordered operations a and b in A.class,
the order of a and b is still guaranteed when
the corresponding AssembleExecution is obtained.
executeOperations 在类中 DisorderedBeanOperationExecutorexecutions - assembly operations to be completedoptions - options for executionOperationExecuteException - thrown when operation execution exceptionprotected void doExecuteOperations(Map<Container<?>,Map<AssembleOperationHandler,List<AssembleExecution>>> executionGroups)
Execute the assembly operation.
doExecuteOperations 在类中 DisorderedBeanOperationExecutorexecutionGroups - grouped assembly operationsCopyright © 2024. All rights reserved.