[강운덕] [LUCYSUS-1744] agent의 유니크성을 높이기 위해서 short 타입의 identifier를 추가함.

apimetainfo, sqlmeatainfo에서 validation체크를 할때 사용함.

git-svn-id: http://svn.bds.nhncorp.com/pe/hippo-tomcat-profiler/trunk@1179 84d0f5b1-2673-498c-a247-62c4ff18d310
This commit is contained in:
Woonduk Kang
2013-02-12 08:28:23 +00:00
parent ee613bd0b0
commit 4d9c70b686
3 changed files with 63 additions and 124 deletions
@@ -23,8 +23,7 @@ public class SubSpan implements Thriftable {
private String rpc;
private ServiceType serviceType;
private String endPoint;
private boolean exception;
private final List<Annotation> annotations = new ArrayList<Annotation>(5);
private int nextSpanId = -1;
@@ -106,13 +105,7 @@ public class SubSpan implements Thriftable {
this.serviceType = serviceType;
}
public boolean isException() {
return exception;
}
public void setException(boolean exception) {
this.exception = exception;
}
public int getDepth() {
return depth;
@@ -144,7 +137,6 @@ public class SubSpan implements Thriftable {
sb.append(", ServiceName=").append(serviceName);
sb.append(", ServiceType=").append(serviceType);
sb.append(", EndPoint=").append(endPoint);
sb.append(", Exception=").append(exception);
sb.append(", Seq=").append(sequence);
sb.append(",\n\t Annotations = {");
for (Annotation a : annotations) {
@@ -188,7 +180,6 @@ public class SubSpan implements Thriftable {
}
subSpan.setEndPoint(endPoint);
subSpan.setErr(exception);
// 여기서 데이터 인코딩을 하자.
List<com.profiler.common.dto.thrift.Annotation> annotationList = new ArrayList<com.profiler.common.dto.thrift.Annotation>(annotations.size());