public class RpcContext extends WormBaseContext
Modifier and Type | Field and Description |
---|---|
static int |
RPC_STAT_FAIL |
static int |
RPC_STAT_SUCESS |
Modifier and Type | Method and Description |
---|---|
RpcContext |
cloneInstance() |
RpcContext |
createChildRpc() |
void |
endLocal() |
void |
endRpc() |
void |
endRpc(int stat) |
void |
endRpc(int stat,
String errorCode,
String errorMessage) |
void |
endTrace() |
void |
endTrace(String errorMsg) |
static RpcContext |
fromMap(Map<String,String> map) |
static RpcContext |
get() |
RpcContext |
getParentRpcContext() |
void |
rpcClientSend() |
void |
rpcServerRecv(String tag,
Map<String,String> initData) |
void |
rpcServerSend() |
void |
rpcServerSend(int stat,
String errorCode,
String errorMessage) |
static void |
set(RpcContext ctx) |
void |
startLocal(String tag) |
void |
startRpc(String tag) |
void |
startTrace(String name) |
HashMap<String,String> |
toMap() |
Map<String,String> |
totalMap() |
toString
public static final int RPC_STAT_SUCESS
public static final int RPC_STAT_FAIL
public static RpcContext get()
public static void set(RpcContext ctx)
public static RpcContext fromMap(Map<String,String> map)
public RpcContext getParentRpcContext()
public RpcContext createChildRpc()
public void startLocal(String tag)
public void endLocal()
public void startTrace(String name)
public void endTrace(String errorMsg)
public void endTrace()
public void startRpc(String tag)
public void endRpc()
public void endRpc(int stat)
public void rpcClientSend()
public void rpcServerSend()
public RpcContext cloneInstance()
public Map<String,String> totalMap()
totalMap
in class WormBaseContext
Copyright © 2006–2018 TinyGroup. All rights reserved.