Toggle navigation
Home
com.navercorp.pinpoint.web.dao.AgentStatDao to com.navercorp.pinpoint.web.dao.stat.AgentStatDao<com.navercorp.pinpoint.common.server.bo.stat.JvmGcBo>
No. of Instances - 1
No. of Commits - 1
No. of Projects - {'pinpoint'}
Hierarchy/Composition: -
Primitive Info: -
NameSpace: Internal -> Internal
Mapping:
Cascading Type Change (Different)
AgentStat
to
JvmGcBo
List<AgentStat>
to
List<JvmGcBo>
LinkedList<AgentStat>
to
LinkedList<>
Cascading Type Change (Similar)
AgentStatDao
to
AgentStatDao<JvmGcBo>
Add or Remove Method invocation
agentStatList.add(stat)
to
jvmGcs.add(jvmGc)
getAgentStatList(agentId,range)
to
jvmGcs
Update Anonymous class
{ @Override public List<AgentStat> getAgentStatList( String agentId, Range range){ List<AgentStat> agentStatList=new LinkedList<AgentStat>(); for (int i=36; i > 0; i--) { AgentStat stat=new AgentStat("AGENT_NAME",1L); stat.setGcOldCount(i); agentStatList.add(stat); } return agentStatList; } @Override public List<AgentStat> getAggregatedAgentStatList( String agentId, Range range){ return getAgentStatList(agentId,range); } @Override public boolean agentStatExists( String agentId, Range range){ return true; } }
to
{ @Override public List<JvmGcBo> getAgentStatList( String agentId, Range range){ List<JvmGcBo> jvmGcs=new LinkedList<>(); for (int i=36; i > 0; i--) { JvmGcBo jvmGc=new JvmGcBo(); jvmGc.setGcOldCount(i); jvmGcs.add(jvmGc); } return jvmGcs; } @Override public boolean agentStatExists( String agentId, Range range){ return true; } }
Rename Variable
agentStatDao
to
jvmGcDao