use of com.navercorp.pinpoint.thrift.dto.TJvmGcType in project pinpoint by naver.
the class AgentInfoSender method createTJvmInfo.
private TJvmInfo createTJvmInfo() {
TJvmInfo tJvmInfo = new TJvmInfo();
tJvmInfo.setVmVersion(this.jvmInformation.getJvmVersion());
TJvmGcType gcType = TJvmGcType.findByValue(this.jvmInformation.getGcTypeCode());
if (gcType == null) {
gcType = TJvmGcType.UNKNOWN;
}
tJvmInfo.setGcType(gcType);
return tJvmInfo;
}
Aggregations