public interface ExecutorManager<T>
| 限定符和类型 | 方法和说明 |
|---|---|
void |
afterExecute(ExecutionContext context)
after execute
|
void |
beforeExecute(ExecutionContext executeContext)
before execute
|
T |
execute(ExecutionContext context)
execute task
|
void |
executeDirectly(ExecutionContext context)
execute task directly without retry
|
void beforeExecute(ExecutionContext executeContext) throws ExecuteException
executeContext - executeContextExecuteException - if error throws ExecuteExceptionT execute(ExecutionContext context) throws ExecuteException
context - contextExecuteException - if error throws ExecuteExceptionvoid executeDirectly(ExecutionContext context) throws ExecuteException
context - contextExecuteException - if error throws ExecuteExceptionvoid afterExecute(ExecutionContext context) throws ExecuteException
context - contextExecuteException - if error throws ExecuteExceptionCopyright © 2022 The Apache Software Foundation. All rights reserved.