mirror of
https://github.com/wahyd4/pinpoint.git
synced 2026-08-22 19:27:13 +10:00
[강운덕] [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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user