提交 8a8d6e6b 编写于 作者: Z zhangxin

add delegate method

上级 cfbf6889
......@@ -39,6 +39,20 @@ public enum ContextManager implements TracerContextListener {
return segment;
}
/**
* @see {@link TracerContext#inject(ContextCarrier)}
*/
public void inject(ContextCarrier carrier) {
get().inject(carrier);
}
/**
*@see {@link TracerContext#extract(ContextCarrier)}
*/
public void extract(ContextCarrier carrier) {
get().extract(carrier);
}
public Span createSpan(String operationName) {
return get().createSpan(operationName);
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册