Skip to content

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

*) undoing last commit.

thelifb4100d47b94
diff --git a/source/de/anomic/plasma/dbImport/AbstractImporter.java b/source/de/anomic/plasma/dbImport/AbstractImporter.java
index 3cba4260d..eb1c1208b 100644
--- a/source/de/anomic/plasma/dbImport/AbstractImporter.java
+++ b/source/de/anomic/plasma/dbImport/AbstractImporter.java
@@ -96,6 +96,10 @@ public abstract class AbstractImporter extends Thread implements dbImporter{
public int getJobID() {
return this.jobID;
+ }
+
+ public long getTotalRuntime() {
+ return (this.globalEnd == 0)?System.currentTimeMillis()-(this.globalStart+this.globalPauseDuration):this.globalEnd-(this.globalStart+this.globalPauseDuration);
}
public long getElapsedTime() {