| 程序包 | 说明 |
|---|---|
| com.alipay.sofa.registry.task | |
| com.alipay.sofa.registry.task.batcher |
| 类和说明 |
|---|
| TaskProcessor.ProcessingResult
A processed task/task list ends up in one of the following states:
Success processing finished successfully
TransientError processing failed, but shall be retried later
PermanentError processing failed, and is non recoverable
|
| 类和说明 |
|---|
| AcceptorExecutor
An active object with an internal thread accepting tasks from clients, and dispatching them to
workers in a pull based manner.
|
| TaskDispatcher
Task dispatcher takes task from clients, and delegates their execution to a configurable number of workers.
|
| TaskProcessor
An interface to be implemented by clients for task execution.
|
| TaskProcessor.ProcessingResult
A processed task/task list ends up in one of the following states:
Success processing finished successfully
TransientError processing failed, but shall be retried later
PermanentError processing failed, and is non recoverable
|
Copyright © 2019 The Ant Financial. All rights reserved.