[유치수] [NOBTS] remove terminal:boolean from thrift obj.

git-svn-id: http://svn.bds.nhncorp.com/pe/hippo-tomcat-profiler/trunk@919 84d0f5b1-2673-498c-a247-62c4ff18d310
This commit is contained in:
Chisu Yu
2012-11-27 02:25:05 +00:00
parent 651323af36
commit 92fdb28e82
10 changed files with 137 additions and 169 deletions
@@ -20,7 +20,6 @@ public class Span implements Thriftable {
private String rpc;
private ServiceType serviceType;
private String endPoint;
private boolean isTerminal = false;
private final List<HippoAnnotation> annotations = new ArrayList<HippoAnnotation>(5);
@@ -64,14 +63,6 @@ public class Span implements Thriftable {
this.endPoint = endPoint;
}
public boolean isTerminal() {
return isTerminal;
}
public void setTerminal(boolean isTerminal) {
this.isTerminal = isTerminal;
}
public void setStartTime(long startTime) {
this.startTime = startTime;
}
@@ -133,7 +124,6 @@ public class Span implements Thriftable {
span.setSpanId(traceID.getSpanId());
span.setParentSpanId(traceID.getParentSpanId());
span.setEndPoint(endPoint);
span.setTerminal(isTerminal);
// 여기서 데이터 인코딩을 하자.
List<com.profiler.common.dto.thrift.Annotation> annotationList = new ArrayList<com.profiler.common.dto.thrift.Annotation>(annotations.size());