Search in sources :

Example 1 with PJvmGcDetailed

use of com.navercorp.pinpoint.grpc.trace.PJvmGcDetailed in project pinpoint by naver.

the class GrpcJvmGcDetailedBoMapper method map.

@Override
public void map(AgentStatBo.Builder.StatBuilder builder, PAgentStat agentStat) {
    // jvmGc
    if (agentStat.hasGc()) {
        final PJvmGc jvmGc = agentStat.getGc();
        // jvmGcDetailed
        if (jvmGc.hasJvmGcDetailed()) {
            final PJvmGcDetailed jvmGcDetailed = jvmGc.getJvmGcDetailed();
            final JvmGcDetailedBo jvmGcDetailedBo = this.map(jvmGcDetailed);
            builder.addJvmGcDetailed(jvmGcDetailedBo);
        }
    }
}
Also used : PJvmGc(com.navercorp.pinpoint.grpc.trace.PJvmGc) JvmGcDetailedBo(com.navercorp.pinpoint.common.server.bo.stat.JvmGcDetailedBo) PJvmGcDetailed(com.navercorp.pinpoint.grpc.trace.PJvmGcDetailed)

Aggregations

JvmGcDetailedBo (com.navercorp.pinpoint.common.server.bo.stat.JvmGcDetailedBo)1 PJvmGc (com.navercorp.pinpoint.grpc.trace.PJvmGc)1 PJvmGcDetailed (com.navercorp.pinpoint.grpc.trace.PJvmGcDetailed)1