use of com.navercorp.pinpoint.profiler.context.active.ActiveTraceSnapshot in project pinpoint by naver.
the class ActiveThreadDumpServiceTest method createMockActiveTraceInfoList.
private List<ActiveTraceSnapshot> createMockActiveTraceInfoList(int createActiveTraceRepositorySize, long currentTimeMillis, long diff, List<WaitingJob> waitingJobList) {
List<ActiveTraceSnapshot> activeTraceInfoList = new ArrayList<>(createActiveTraceRepositorySize);
for (int i = 0; i < createActiveTraceRepositorySize; i++) {
ActiveTraceSnapshot activeTraceInfo = createActiveTraceInfo(currentTimeMillis + (diff * i), waitingJobList.get(i));
activeTraceInfoList.add(activeTraceInfo);
}
return activeTraceInfoList;
}
Aggregations