Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
apache
SkyWalking
提交
c699c64c
S
SkyWalking
项目概览
apache
/
SkyWalking
上一次同步 1 年多
通知
302
Star
21345
Fork
6091
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
S
SkyWalking
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
前往新版Gitcode,体验更适合开发者的 AI 搜索 >>
提交
c699c64c
编写于
6月 28, 2017
作者:
wu-sheng
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Remove some useless codes in agent-core.
上级
16fe2ba5
变更
5
隐藏空白更改
内联
并排
Showing
5 changed file
with
5 addition
and
49 deletion
+5
-49
apm-sniffer/apm-agent-core/src/main/java/org/skywalking/apm/agent/core/context/Injectable.java
...ava/org/skywalking/apm/agent/core/context/Injectable.java
+2
-1
apm-sniffer/apm-agent-core/src/main/java/org/skywalking/apm/agent/core/context/tag/AbstractTag.java
...rg/skywalking/apm/agent/core/context/tag/AbstractTag.java
+0
-10
apm-sniffer/apm-agent-core/src/main/java/org/skywalking/apm/agent/core/context/tag/Tags.java
.../java/org/skywalking/apm/agent/core/context/tag/Tags.java
+0
-15
apm-sniffer/apm-agent-core/src/main/java/org/skywalking/apm/agent/core/dictionary/DictionaryUtil.java
.../skywalking/apm/agent/core/dictionary/DictionaryUtil.java
+3
-7
apm-sniffer/apm-agent-core/src/main/java/org/skywalking/apm/agent/core/dictionary/DictionaryValueHolder.java
...king/apm/agent/core/dictionary/DictionaryValueHolder.java
+0
-16
未找到文件。
apm-sniffer/apm-agent-core/src/main/java/org/skywalking/apm/agent/core/context/Injectable.java
浏览文件 @
c699c64c
package
org.skywalking.apm.agent.core.context
;
/**
* The <code>Injectable</code> represents a callback
* The <code>Injectable</code> represents a provider, which gives the reference of {@link ContextCarrier} and peer
* for the agent core, for cross-process propagation.
*
* @author wusheng
*/
...
...
apm-sniffer/apm-agent-core/src/main/java/org/skywalking/apm/agent/core/context/tag/AbstractTag.java
浏览文件 @
c699c64c
...
...
@@ -2,16 +2,6 @@ package org.skywalking.apm.agent.core.context.tag;
import
org.skywalking.apm.agent.core.context.trace.AbstractSpan
;
/**
* This is the abstract tag.
* All span's tags inherit from {@link AbstractTag},
* which provide an easy way to
* {@link Span#setTag(String, String)} ,
* {@link Span#setTag(String, Integer)}
* {@link Span#setTag(String, boolean)} ,
* <p>
* Created by wusheng on 2017/2/17.
*/
public
abstract
class
AbstractTag
<
T
>
{
/**
* The key of this Tag.
...
...
apm-sniffer/apm-agent-core/src/main/java/org/skywalking/apm/agent/core/context/tag/Tags.java
浏览文件 @
c699c64c
...
...
@@ -22,21 +22,6 @@ public final class Tags {
*/
public
static
final
StringTag
STATUS_CODE
=
new
StringTag
(
"status_code"
);
/**
* SPAN_KIND hints at the relationship between spans, e.g. client/server.
*/
public
static
final
StringTag
SPAN_KIND
=
new
StringTag
(
"span.kind"
);
/**
* A constant for setting the span kind to indicate that it represents a server span.
*/
public
static
final
String
SPAN_KIND_SERVER
=
"server"
;
/**
* A constant for setting the span kind to indicate that it represents a client span.
*/
public
static
final
String
SPAN_KIND_CLIENT
=
"client"
;
/**
* SPAN_LAYER represents the kind of span.
* <p>
...
...
apm-sniffer/apm-agent-core/src/main/java/org/skywalking/apm/agent/core/dictionary/DictionaryUtil.java
浏览文件 @
c699c64c
...
...
@@ -5,14 +5,10 @@ package org.skywalking.apm.agent.core.dictionary;
*/
public
class
DictionaryUtil
{
public
static
int
nullValue
()
{
return
-
1
;
return
0
;
}
public
static
boolean
isNull
(
int
value
)
{
return
value
==
nullValue
();
}
public
static
boolean
isNull
(
String
text
)
{
return
text
==
null
;
public
static
boolean
isNull
(
int
id
)
{
return
id
==
nullValue
();
}
}
apm-sniffer/apm-agent-core/src/main/java/org/skywalking/apm/agent/core/dictionary/DictionaryValueHolder.java
已删除
100644 → 0
浏览文件 @
16fe2ba5
package
org.skywalking.apm.agent.core.dictionary
;
/**
* @author wusheng
*/
public
class
DictionaryValueHolder
{
private
int
value
=
DictionaryUtil
.
nullValue
();
public
int
getValue
()
{
return
value
;
}
public
void
setValue
(
int
value
)
{
this
.
value
=
value
;
}
}
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录