public class RpcContext<INSTANCE> extends Object implements Recyclable
| 限定符和类型 | 类和说明 |
|---|---|
static class |
RpcContext.State |
| 构造器和说明 |
|---|
RpcContext() |
| 限定符和类型 | 方法和说明 |
|---|---|
Object[] |
getArgs() |
InetSocketAddress |
getLocalAddress() |
InetSocketAddress |
getRemoteAddress() |
RpcPacket.RequestPacket |
getRequest() |
RpcPacket.ResponsePacket |
getResponse() |
Object |
getResult() |
long |
getRpcBeginTimestamp() |
long |
getRpcEndTimestamp() |
RpcMethod<INSTANCE> |
getRpcMethod() |
RpcContext.State |
getState() |
Throwable |
getThrowable() |
boolean |
isInnerMethod() |
void |
recycle()
recycle
|
void |
setRpcBeginTimestamp(long rpcBeginTimestamp) |
void |
setRpcEndTimestamp(long rpcEndTimestamp) |
String |
toString() |
recyclepublic long getRpcBeginTimestamp()
public void setRpcBeginTimestamp(long rpcBeginTimestamp)
public long getRpcEndTimestamp()
public void setRpcEndTimestamp(long rpcEndTimestamp)
public InetSocketAddress getRemoteAddress()
public InetSocketAddress getLocalAddress()
public RpcContext.State getState()
public Object[] getArgs()
public Throwable getThrowable()
public RpcPacket.RequestPacket getRequest()
public RpcPacket.ResponsePacket getResponse()
public Object getResult()
public boolean isInnerMethod()
public void recycle()
Recyclablerecycle 在接口中 RecyclableCopyright © 2021. All rights reserved.