*) signal yacy shutdown to updater

*) some javadoc added

git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@3658 6c8d7289-2bf4-0310-a012-ef5d649a1542
pull/1/head
theli 18 years ago
parent 43748f87fb
commit 74dd6cac95

@ -82,6 +82,17 @@ public class plasmaCrawlEntry {
this(yacyCore.seedDB.mySeed.hash, url, null, null, new Date(), null, 0, 0, 0);
}
/**
* @param initiator the hash of the initiator peer
* @param url the {@link URL} to crawl
* @param referrer the hash of the referrer URL
* @param name the name of the document to crawl
* @param appdate the time when the url was first time appeared
* @param profileHandle the name of the prefetch profile. This must not be null!
* @param depth the crawling depth of the entry
* @param anchors number of anchors of the parent
* @param forkfactor sum of anchors of all ancestors
*/
public plasmaCrawlEntry(
String initiator,
URL url,

@ -1668,6 +1668,8 @@ public final class plasmaSwitchboard extends serverAbstractSwitch implements ser
errorURL.close();
wordIndex.close();
yc.close();
// signal shudown to the updater
if (updaterCallback != null) updaterCallback.signalYaCyShutdown();
log.logConfig("SWITCHBOARD SHUTDOWN TERMINATED");
}

Loading…
Cancel
Save