From: Sasa M. <sa...@us...> - 2004-09-23 13:13:02
|
Update of /cvsroot/jrobin/src/org/jrobin/core In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv1094/org/jrobin/core Modified Files: RrdDbPool.java Log Message: spelling error corrected in the getPoolEfficiency method name Index: RrdDbPool.java =================================================================== RCS file: /cvsroot/jrobin/src/org/jrobin/core/RrdDbPool.java,v retrieving revision 1.14 retrieving revision 1.15 diff -C2 -d -r1.14 -r1.15 *** RrdDbPool.java 23 Sep 2004 08:45:51 -0000 1.14 --- RrdDbPool.java 23 Sep 2004 13:12:54 -0000 1.15 *************** *** 425,429 **** buff.append("capacity=" + capacity + ", " + "maxUsedCapacity=" + maxUsedCapacity + "\n"); buff.append("hits=" + poolHitsCount + ", " + "requests=" + poolRequestsCount + "\n"); ! buff.append("efficiency=" + getPoolEfficency() + "\n"); if(dumpFiles) { buff.append("---- CACHED FILES ------------------------\n"); --- 425,429 ---- buff.append("capacity=" + capacity + ", " + "maxUsedCapacity=" + maxUsedCapacity + "\n"); buff.append("hits=" + poolHitsCount + ", " + "requests=" + poolRequestsCount + "\n"); ! buff.append("efficiency=" + getPoolEfficiency() + "\n"); if(dumpFiles) { buff.append("---- CACHED FILES ------------------------\n"); *************** *** 537,544 **** * with the number of total RrdDb requests. * ! * @return Pool's efficiency ratio as a double between 1 (best) and 0 (worst). If no RrdDb reference ! * was ever requested, 1 would be returned. */ ! public synchronized double getPoolEfficency() { if (poolRequestsCount == 0) { return 1.0; --- 537,544 ---- * with the number of total RrdDb requests. * ! * @return Pool's efficiency ratio as a double between 1 (best) and 0 (worst). ! * If no RrdDb reference was ever requested, 1 would be returned. */ ! public synchronized double getPoolEfficiency() { if (poolRequestsCount == 0) { return 1.0; |