From fb4100d47b940016ba1d7b9648e702837cf32f1b Mon Sep 17 00:00:00 2001 From: theli Date: Wed, 8 Mar 2006 07:59:32 +0000 Subject: [PATCH] *) undoing last commit. git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@1856 6c8d7289-2bf4-0310-a012-ef5d649a1542 --- source/de/anomic/plasma/dbImport/AbstractImporter.java | 4 ++++ 1 file changed, 4 insertions(+) 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() {