Search in sources :

Example 1 with ThreadDumpRequest

use of com.navercorp.pinpoint.profiler.receiver.service.ThreadDumpRequest 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);
}
Also used : PActiveThreadDump(com.navercorp.pinpoint.grpc.trace.PActiveThreadDump) PThreadDump(com.navercorp.pinpoint.grpc.trace.PThreadDump) ThreadDump(com.navercorp.pinpoint.profiler.receiver.service.ThreadDump) PCmdActiveThreadDump(com.navercorp.pinpoint.grpc.trace.PCmdActiveThreadDump) ThreadDumpRequest(com.navercorp.pinpoint.profiler.receiver.service.ThreadDumpRequest)

Example 2 with ThreadDumpRequest

use of com.navercorp.pinpoint.profiler.receiver.service.ThreadDumpRequest 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);
}
Also used : ThreadDump(com.navercorp.pinpoint.profiler.receiver.service.ThreadDump) ThreadDumpRequest(com.navercorp.pinpoint.profiler.receiver.service.ThreadDumpRequest)

Aggregations

ThreadDump (com.navercorp.pinpoint.profiler.receiver.service.ThreadDump)2 ThreadDumpRequest (com.navercorp.pinpoint.profiler.receiver.service.ThreadDumpRequest)2 PActiveThreadDump (com.navercorp.pinpoint.grpc.trace.PActiveThreadDump)1 PCmdActiveThreadDump (com.navercorp.pinpoint.grpc.trace.PCmdActiveThreadDump)1 PThreadDump (com.navercorp.pinpoint.grpc.trace.PThreadDump)1