emergeny bugfix for last commit

(kelondroTree should work again)
the cache prefill is broken and will be fixed later

git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@3377 6c8d7289-2bf4-0310-a012-ef5d649a1542
pull/1/head
orbiter 18 years ago
parent 868aaabf88
commit 2d8e472cfd

@ -656,7 +656,7 @@ public class kelondroRecords {
this.writeDouble = 0; this.writeDouble = 0;
this.cacheDelete = 0; this.cacheDelete = 0;
this.cacheFlush = 0; this.cacheFlush = 0;
/*
// pre-load node cache // pre-load node cache
if ((preloadTime > 0) && (cacheSize > 0)) { if ((preloadTime > 0) && (cacheSize > 0)) {
long stop = System.currentTimeMillis() + preloadTime; long stop = System.currentTimeMillis() + preloadTime;
@ -677,6 +677,7 @@ public class kelondroRecords {
} }
} }
*/
} }
public File file() { public File file() {
@ -1394,6 +1395,7 @@ public class kelondroRecords {
public contentNodeIterator(long maxInitTime) throws IOException, kelondroException { public contentNodeIterator(long maxInitTime) throws IOException, kelondroException {
// initialize markedDeleted set of deleted Handles // initialize markedDeleted set of deleted Handles
maxInitTime = -1;// for debugging only
markedDeleted = deletedHandles(maxInitTime); markedDeleted = deletedHandles(maxInitTime);
fullyMarked = (maxInitTime < 0); fullyMarked = (maxInitTime < 0);

Loading…
Cancel
Save