use of com.navercorp.pinpoint.common.server.bo.stat.AgentUriStatBo in project pinpoint by naver.
the class AgentUriStatCodecV2 method decodeValues.
@Override
public List<AgentUriStatBo> decodeValues(Buffer valueBuffer, AgentStatDecodingContext decodingContext) {
AgentUriStatBo agentUriStatBo = new AgentUriStatBo();
final String agentId = decodingContext.getAgentId();
agentUriStatBo.setAgentId(agentId);
final long startTimeStamp = valueBuffer.readVLong();
agentUriStatBo.setStartTimestamp(startTimeStamp);
final long timestamp = valueBuffer.readVLong();
agentUriStatBo.setTimestamp(timestamp);
final byte bucketVersion = valueBuffer.readByte();
agentUriStatBo.setBucketVersion(bucketVersion);
EachUriStatCodecV2 eachUriStatCodecV2 = new EachUriStatCodecV2(codec);
List<EachUriStatBo> eachUriStatBoList = eachUriStatCodecV2.decodeValues(valueBuffer, decodingContext);
agentUriStatBo.addAllEachUriStatBo(eachUriStatBoList);
return Arrays.asList(agentUriStatBo);
}
Aggregations