use of com.navercorp.pinpoint.thrift.dto.command.TCommandThreadDump in project pinpoint by naver.
the class ThreadDumpService method requestCommandService.
@Override
public TBase<?, ?> requestCommandService(TBase<?, ?> tbase) {
logger.info("{} execute {}.", this, tbase);
TCommandThreadDump param = (TCommandThreadDump) tbase;
TThreadDumpType type = param.getType();
final List<ThreadInfo> threadInfoList = getThreadInfos(type, param);
final List<TThreadDump> threadDumpList = getTThreadDumpList(threadInfoList);
TCommandThreadDumpResponse response = new TCommandThreadDumpResponse();
response.setThreadDumps(threadDumpList);
return response;
}
Aggregations