From: Sasa M. <sa...@us...> - 2004-07-21 07:10:41
|
Update of /cvsroot/jrobin/src/org/jrobin/mrtg/client In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv31656/org/jrobin/mrtg/client Modified Files: MrtgData.java ServerInfo.java Log Message: Minor changes Index: MrtgData.java =================================================================== RCS file: /cvsroot/jrobin/src/org/jrobin/mrtg/client/MrtgData.java,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** MrtgData.java 10 Nov 2003 08:52:29 -0000 1.2 --- MrtgData.java 21 Jul 2004 07:10:26 -0000 1.3 *************** *** 220,223 **** --- 220,224 ---- info.setSavesCount(Integer.parseInt(serverInfo.get("savesCount").toString())); info.setSampleCount(Integer.parseInt(serverInfo.get("sampleCount").toString())); + info.setPoolEfficency(Double.parseDouble(serverInfo.get("poolEfficency").toString())); info.setStartDate((Date)serverInfo.get("startDate")); return info; Index: ServerInfo.java =================================================================== RCS file: /cvsroot/jrobin/src/org/jrobin/mrtg/client/ServerInfo.java,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** ServerInfo.java 10 Nov 2003 08:52:29 -0000 1.2 --- ServerInfo.java 21 Jul 2004 07:10:26 -0000 1.3 *************** *** 30,33 **** --- 30,34 ---- private String serverHost; private int sampleCount, savesCount, goodSavesCount, badSavesCount; + private double poolEfficency; private Date startDate; *************** *** 92,95 **** --- 93,97 ---- buffer.append("Samples stored OK: " + getGoodSavesCount() + "\n"); buffer.append("Samples not stored: " + getBadSavesCount() + "\n"); + buffer.append("Pool efficency: " + getPoolEfficency() + "\n"); return buffer.toString(); } *************** *** 99,101 **** --- 101,111 ---- } + double getPoolEfficency() { + return poolEfficency; + } + + void setPoolEfficency(double poolEfficency) { + this.poolEfficency = poolEfficency; + } + } |