use of com.navercorp.pinpoint.common.server.bo.stat.AgentStatBo in project pinpoint by naver.
the class TFJvmGcMapper method build.
@Override
public void build(TFAgentStatMapper.TFAgentStatBuilder builder) {
AgentStatBo agentStat = builder.getAgentStat();
List<JvmGcBo> jvmGcList = agentStat.getJvmGcBos();
builder.build(jvmGcList, this);
}
use of com.navercorp.pinpoint.common.server.bo.stat.AgentStatBo in project pinpoint by naver.
the class TFTransactionMapper method build.
@Override
public void build(TFAgentStatMapper.TFAgentStatBuilder builder) {
AgentStatBo agentStat = builder.getAgentStat();
List<TransactionBo> transactionList = agentStat.getTransactionBos();
builder.build(transactionList, this);
}
use of com.navercorp.pinpoint.common.server.bo.stat.AgentStatBo in project pinpoint by naver.
the class TFDataSourceListBoMapper method build.
@Override
public void build(TFAgentStatMapper.TFAgentStatBuilder builder) {
AgentStatBo agentStat = builder.getAgentStat();
List<DataSourceListBo> dataSourceList = agentStat.getDataSourceListBos();
builder.build(dataSourceList, this);
}
use of com.navercorp.pinpoint.common.server.bo.stat.AgentStatBo in project pinpoint by naver.
the class TFTotalThreadCountMapper method build.
@Override
public void build(TFAgentStatMapper.TFAgentStatBuilder builder) {
AgentStatBo agentStat = builder.getAgentStat();
List<TotalThreadCountBo> totalThreadCountList = agentStat.getTotalThreadCountBos();
builder.build(totalThreadCountList, this);
}
use of com.navercorp.pinpoint.common.server.bo.stat.AgentStatBo in project pinpoint by naver.
the class TFAgentStatBatchMapperTest method mapTest.
@Test
public void mapTest() {
AgentStatBo agentStatBo = createCpuLoadBoList();
TFAgentStatMapper tFAgentStatMapper = new TFAgentStatMapper(new TFCpuLoadMapper[] { new TFCpuLoadMapper() });
TFAgentStatBatchMapper mapper = new TFAgentStatBatchMapper(tFAgentStatMapper);
TFAgentStatBatch tFAgentStatBatch = mapper.map(agentStatBo);
assertEquals(TEST_AGENT, tFAgentStatBatch.getAgentId());
assertEquals(startTimestamp, tFAgentStatBatch.getStartTimestamp());
List<TFAgentStat> agentStatList = tFAgentStatBatch.getAgentStats();
assertEquals(3, agentStatList.size());
}
Aggregations