public interface RemotingProcessor<T extends RemotingCommand>
| 限定符和类型 | 方法和说明 |
|---|---|
ExecutorService |
getExecutor()
Get the executor.
|
void |
process(RemotingContext ctx,
T msg,
ExecutorService defaultExecutor)
Process the remoting command.
|
void |
setExecutor(ExecutorService executor)
Set executor.
|
void process(RemotingContext ctx, T msg, ExecutorService defaultExecutor) throws Exception
ctx - msg - defaultExecutor - ExceptionExecutorService getExecutor()
void setExecutor(ExecutorService executor)
executor - Copyright © 2021. All rights reserved.