removed unused write cache monitor

git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@1807 6c8d7289-2bf4-0310-a012-ef5d649a1542
pull/1/head
orbiter 19 years ago
parent 88f925f439
commit 69fd2bc136

@ -329,6 +329,7 @@ Increasing this cache may speed up crawling, but not much space is needed, so th
</table> </table>
</p> </p>
<!--
<p> <p>
<div class=small><b>Write Cache Object Allocation:</b></div> <div class=small><b>Write Cache Object Allocation:</b></div>
<table border="0" cellpadding="2" cellspacing="1"> <table border="0" cellpadding="2" cellspacing="1">
@ -352,6 +353,7 @@ Increasing this cache may speed up crawling, but not much space is needed, so th
</tr> </tr>
</table> </table>
</p> </p>
-->
<!-- other cache sizes --> <!-- other cache sizes -->
<div class=small><b>Other caching structures:</b></div> <div class=small><b>Other caching structures:</b></div>

@ -43,7 +43,7 @@
//javac -classpath .:../classes PerformanceMemory_p.java //javac -classpath .:../classes PerformanceMemory_p.java
//if the shell's current path is HTROOT //if the shell's current path is HTROOT
import java.util.Iterator; //import java.util.Iterator;
import java.util.Map; import java.util.Map;
import java.io.File; import java.io.File;
@ -55,7 +55,7 @@ import de.anomic.server.serverObjects;
import de.anomic.server.serverSwitch; import de.anomic.server.serverSwitch;
import de.anomic.server.serverFileUtils; import de.anomic.server.serverFileUtils;
import de.anomic.yacy.yacyCore; import de.anomic.yacy.yacyCore;
import de.anomic.kelondro.kelondroObjectSpace; //import de.anomic.kelondro.kelondroObjectSpace;
public class PerformanceMemory_p { public class PerformanceMemory_p {
@ -226,6 +226,7 @@ public class PerformanceMemory_p {
String Xms = env.getConfig("javastart_Xms", "Xms10m").substring(3); String Xms = env.getConfig("javastart_Xms", "Xms10m").substring(3);
prop.put("Xms", Xms.substring(0, Xms.length() - 1)); prop.put("Xms", Xms.substring(0, Xms.length() - 1));
/*
// create statistics about write cache object space // create statistics about write cache object space
int chunksizes = ((kelondroObjectSpace.statAlive().size() > 0) && int chunksizes = ((kelondroObjectSpace.statAlive().size() > 0) &&
(kelondroObjectSpace.statHeap().size() > 0)) ? (kelondroObjectSpace.statHeap().size() > 0)) ?
@ -259,6 +260,7 @@ public class PerformanceMemory_p {
prop.put("sizes", Integer.toString(c)); prop.put("sizes", Integer.toString(c));
prop.put("alive", Integer.toString(c)); prop.put("alive", Integer.toString(c));
prop.put("heap" , Integer.toString(c)); prop.put("heap" , Integer.toString(c));
*/
// other caching structures // other caching structures
long amount = sb.urlPool.errorURL.existsIndexSize(); long amount = sb.urlPool.errorURL.existsIndexSize();

Loading…
Cancel
Save