public interface TaskDispatcher<ID,T>
TaskProcessor interface, which will do
the actual work of task processing. This implementation must be thread safe, as it is called concurrently by
multiple threads.| 限定符和类型 | 方法和说明 |
|---|---|
void |
dispatch(ID id,
T task,
long expiryTime) |
AcceptorExecutor<ID,T> |
getAcceptorExecutor() |
void |
shutdown() |
void shutdown()
AcceptorExecutor<ID,T> getAcceptorExecutor()
Copyright © 2019 The Ant Financial. All rights reserved.