public class EarthWorm extends Object
Constructor and Description |
---|
EarthWorm() |
Modifier and Type | Method and Description |
---|---|
static boolean |
checkContextExist() |
static boolean |
checkSample(RpcContext childCtx) |
static void |
clearRpcContext() |
static RpcContext |
createRootRpcContext(String traceId,
String rpcId) |
static RpcContext |
createRpcContextFromMap(Map<String,String> map) |
static Object |
currentRpcContext() |
static void |
endLocal() |
static void |
endTrace() |
static void |
endTrace(String errorMsg) |
static String |
getLocalId() |
static RpcContext |
getRpcContext() |
protected static SampleTrier |
getSampleTrier() |
static String |
getSpanId() |
static String |
getTraceId() |
static void |
relateion(String relationId) |
static void |
rpcClientRecv() |
static void |
rpcClientRecvFail(String errorMessage) |
static void |
rpcClientRecvFail(String errorCode,
String errorMessage) |
static void |
rpcClientSend() |
static void |
rpcServerRecv(String tag,
Map<String,String> initData) |
static void |
rpcServerRecv(String tag,
Map<String,String> initData,
boolean setToThreadLocal) |
static void |
rpcServerSend() |
static void |
rpcServerSendFail(String errorMessage) |
static void |
rpcServerSendFail(String errorCode,
String errorMessage) |
static void |
setRpcContext(Object rpcCtx) |
static void |
setSampleTrier(String sampleTrierClass) |
static void |
startLocal(String tag) |
static void |
startRpc(String tag) |
static void |
startTrace(String traceName) |
static void |
startTrace(String traceId,
String traceName) |
static void |
startTrace(String traceId,
String spanId,
String traceName) |
static void |
target(String target) |
protected static SampleTrier getSampleTrier()
public static void setSampleTrier(String sampleTrierClass)
public static void startTrace(String traceName)
public static void endTrace()
public static void endTrace(String errorMsg)
public static void startRpc(String tag)
public static boolean checkSample(RpcContext childCtx)
public static void startLocal(String tag)
public static void endLocal()
public static void rpcClientSend()
public static void rpcClientRecv()
public static void rpcClientRecvFail(String errorMessage)
public static void rpcServerRecv(String tag, Map<String,String> initData, boolean setToThreadLocal)
public static void rpcServerSend()
public static void rpcServerSendFail(String errorMessage)
public static String getTraceId()
public static String getSpanId()
public static String getLocalId()
public static Object currentRpcContext()
public static RpcContext getRpcContext()
public static RpcContext createRootRpcContext(String traceId, String rpcId)
public static RpcContext createRpcContextFromMap(Map<String,String> map)
public static void setRpcContext(Object rpcCtx)
public static void clearRpcContext()
public static void target(String target)
public static void relateion(String relationId)
public static boolean checkContextExist()
Copyright © 2006–2018 TinyGroup. All rights reserved.