[강운덕] [LUCYSUS-1744] 비동기 메시지일때도 event를 모아서 io에 flush하도록 수정.

git-svn-id: http://svn.bds.nhncorp.com/pe/hippo-tomcat-profiler/trunk@1053 84d0f5b1-2673-498c-a247-62c4ff18d310
This commit is contained in:
Woonduk Kang
2012-12-21 03:02:50 +00:00
parent 6b34149999
commit 895aec01ef
10 changed files with 86 additions and 75 deletions
@@ -29,7 +29,6 @@ public class SubSpanList implements Thriftable {
tSubSpanList.setMostTraceId(id.getMostSignificantBits());
tSubSpanList.setLeastTraceId(id.getLeastSignificantBits());
tSubSpanList.setSpanId(parentSpan.getTraceID().getSpanId());
tSubSpanList.setStartSequence(first.getSequence());
List<com.profiler.common.dto.thrift.SubSpan> tSubSpan = createSubSpan(subSpanList);
@@ -49,6 +48,8 @@ public class SubSpanList implements Thriftable {
tSubSpan.setStartElapsed((int) (subSpan.getStartTime() - parentSpanStartTime));
tSubSpan.setEndElapsed((int) (subSpan.getEndTime() - subSpan.getStartTime()));
tSubSpan.setSequence(subSpan.getSequence());
tSubSpan.setRpc(subSpan.getRpc());
tSubSpan.setServiceName(subSpan.getServiceName());
tSubSpan.setServiceType(subSpan.getServiceType().getCode());