mirror of
https://github.com/duanhf2012/origin.git
synced 2026-02-14 15:54:42 +08:00
优化rpc超时-使用时间轮定时器
This commit is contained in:
@@ -7,7 +7,7 @@ type IRpcProcessor interface {
|
||||
MakeRpcResponse(seq uint64,err *RpcError,reply []byte) IRpcResponseData
|
||||
|
||||
ReleaseRpcRequest(rpcRequestData IRpcRequestData)
|
||||
ReleaseRpcRespose(rpcRequestData IRpcResponseData)
|
||||
ReleaseRpcResponse(rpcRequestData IRpcResponseData)
|
||||
IsParse(param interface{}) bool //是否可解析
|
||||
GetProcessorType() RpcProcessorType
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user