[강운덕] [LUCYSUS-1744] arcus cancel부분 수정. 비동기 호출 추적부분 수정.

git-svn-id: http://svn.bds.nhncorp.com/pe/hippo-tomcat-profiler/trunk@859 84d0f5b1-2673-498c-a247-62c4ff18d310
This commit is contained in:
Woonduk Kang
2012-11-13 09:49:42 +00:00
parent c69e8b1b3e
commit bd65b0d937
8 changed files with 111 additions and 88 deletions
@@ -24,7 +24,6 @@ public class Span {
private boolean isTerminal = false;
private final List<HippoAnnotation> annotations = new ArrayList<HippoAnnotation>(5);
private final Set<String> annotationKeys = new HashSet<String>(5);
private long rpcStartTime;
private long rpcEndTime;
@@ -37,7 +36,6 @@ public class Span {
}
public boolean addAnnotation(HippoAnnotation annotation) {
annotationKeys.add(annotation.getKey());
if (annotation.getKey().equals(Annotation.ClientSend.getCode()) || annotation.getKey().equals(Annotation.ServerRecv.getCode())) {
rpcStartTime = annotation.getTimestamp();
}
@@ -51,15 +49,6 @@ public class Span {
return annotations.size();
}
/**
* this method only works for Trace.mutate()
*
* @param value
* @return
*/
public boolean isExistsAnnotationKey(String key) {
return annotationKeys.contains(key);
}
public String getEndPoint() {
return this.endPoint;