Skip to content

Distributed Peer-to-Peer Web Search Engine and Intranet Search Appliance

*) renaming of function getTransferedEntitySpeed to getTransferedEntrySpeed to avoid confusion

thelib3c569f706d6
diff --git a/htroot/IndexTransfer_p.html b/htroot/IndexTransfer_p.html
index 55654314c..ff73c4375 100644
--- a/htroot/IndexTransfer_p.html
+++ b/htroot/IndexTransfer_p.html
@@ -63,7 +63,7 @@
<td class="small" rowspan="2" align="left">#[twEntityCount]# Entities (#[twEntityPercent]#%)<br>
#[twEntryCount]# Entries<br>
#[twPayloadSize]#<br>
- #[twEntitySpeed]# entities/s</td>
+ #[twEntrySpeed]# entries/s</td>
<td class="small" rowspan="2">#(deleteIndex)#false::true#(/deleteIndex)#</td>
<td class="small" rowspan="2">#[peerName]#</td>
<td class="small" rowspan="2">#(stopped)#<input type="submit" name="stopIndexTransfer" value="Stop Index Transfer">::
diff --git a/htroot/IndexTransfer_p.java b/htroot/IndexTransfer_p.java
index e1059a9b8..1c71c091e 100644
--- a/htroot/IndexTransfer_p.java
+++ b/htroot/IndexTransfer_p.java
@@ -116,7 +116,7 @@ public final class IndexTransfer_p {
prop.put("running_twEntryCount",switchboard.transferIdxThread.getTransferedEntryCount());
prop.put("running_twPayloadSize",serverMemory.bytesToString(switchboard.transferIdxThread.getTransferedBytes()));
prop.put("running_twEntityPercent",Float.toString(switchboard.transferIdxThread.getTransferedContainerPercent()));
- prop.put("running_twEntitySpeed",Integer.toString(switchboard.transferIdxThread.getTransferedEntitySpeed()));
+ prop.put("running_twEntrySpeed",Integer.toString(switchboard.transferIdxThread.getTransferedEntrySpeed()));
prop.put("running_deleteIndex", switchboard.transferIdxThread.deleteIndex()?1:0);
prop.put("running_peerName",switchboard.transferIdxThread.getSeed().getName());
diff --git a/source/de/anomic/plasma/plasmaDHTFlush.java b/source/de/anomic/plasma/plasmaDHTFlush.java
index a1fcf0647..b462e3997 100644
--- a/source/de/anomic/plasma/plasmaDHTFlush.java
+++ b/source/de/anomic/plasma/plasmaDHTFlush.java
@@ -123,7 +123,7 @@ public class plasmaDHTFlush extends Thread {
else return (this.transferedContainerCount*100/this.initialWordsDBSize);
}
- public int getTransferedEntitySpeed() {
+ public int getTransferedEntrySpeed() {
long transferTime = System.currentTimeMillis() - this.startingTime;
if (transferTime <= 0) transferTime = 1;
return (int) ((1000 * this.transferedEntryCount) / transferTime);