Distributed Peer-to-Peer Web Search Engine and Intranet Search Appliance
Java decentralizedintranet-searchintranet-search-enginep2pp2p-networkprivacyprivacy-protectionsearch-enginesearchenginewebweb-search-enginewebsearchwebseearch-engine
more synchronized in BLOBHeap (will not fix problem with Runtime-Error as reported in forum)
orbitercb76d9e0e49f
diff --git a/source/de/anomic/kelondro/kelondroBLOBHeap.java b/source/de/anomic/kelondro/kelondroBLOBHeap.javaindex e9c22ba5f..4a4ac604c 100755--- a/source/de/anomic/kelondro/kelondroBLOBHeap.java+++ b/source/de/anomic/kelondro/kelondroBLOBHeap.java@@ -200,7 +200,7 @@ public final class kelondroBLOBHeap extends kelondroBLOBHeapModifier implements* @return the size of the BLOB or -1 if the BLOB does not exist* @throws IOException*/- public long length(byte[] key) throws IOException {+ public synchronized long length(byte[] key) throws IOException {assert index.row().primaryKeyLength == key.length : index.row().primaryKeyLength + "!=" + key.length;// check the buffer@@ -394,7 +394,7 @@ public final class kelondroBLOBHeap extends kelondroBLOBHeapModifier implementsreturn super.keys(up, firstKey);}- public long length() throws IOException {+ public synchronized long length() throws IOException {return super.length() + this.buffersize;}