use of com.navercorp.pinpoint.profiler.receiver.service.ThreadDump in project pinpoint by naver.
the class GrpcActiveThreadDumpService method getActiveThreadDumpList.
private List<PActiveThreadDump> getActiveThreadDumpList(PCmdActiveThreadDump commandActiveThreadDump) {
ThreadDumpRequest request = ThreadDumpRequest.create(commandActiveThreadDump);
Collection<ThreadDump> activeTraceInfoList = activeThreadDump.getActiveThreadDumpList(request);
return toPActiveThreadDump(activeTraceInfoList);
}
use of com.navercorp.pinpoint.profiler.receiver.service.ThreadDump in project pinpoint by naver.
the class GrpcActiveThreadLightDumpService method getActiveThreadDumpList.
private List<PActiveThreadLightDump> getActiveThreadDumpList(PCmdActiveThreadLightDump commandActiveThreadLightDump) {
ThreadDumpRequest request = ThreadDumpRequest.create(commandActiveThreadLightDump);
Collection<ThreadDump> activeTraceInfoList = activeThreadDump.getActiveThreadDumpList(request);
return toPActiveThreadLightDump(activeTraceInfoList);
}
use of com.navercorp.pinpoint.profiler.receiver.service.ThreadDump in project pinpoint by naver.
the class GrpcActiveThreadLightDumpService method toPActiveThreadLightDump.
private List<PActiveThreadLightDump> toPActiveThreadLightDump(Collection<ThreadDump> activeTraceInfoList) {
final List<PActiveThreadLightDump> result = new ArrayList<PActiveThreadLightDump>(activeTraceInfoList.size());
for (ThreadDump threadDump : activeTraceInfoList) {
PActiveThreadLightDump pActiveThreadLightDump = createActiveThreadDump(threadDump);
result.add(pActiveThreadLightDump);
}
return result;
}
use of com.navercorp.pinpoint.profiler.receiver.service.ThreadDump in project pinpoint by naver.
the class GrpcActiveThreadDumpService method toPActiveThreadDump.
private List<PActiveThreadDump> toPActiveThreadDump(Collection<ThreadDump> activeTraceInfoList) {
final List<PActiveThreadDump> result = new ArrayList<PActiveThreadDump>(activeTraceInfoList.size());
for (ThreadDump threadDump : activeTraceInfoList) {
PActiveThreadDump pActiveThreadLightDump = createActiveThreadDump(threadDump);
result.add(pActiveThreadLightDump);
}
return result;
}
Aggregations