Distributed Peer-to-Peer Web Search Engine and Intranet Search Appliance
Java decentralizedintranet-searchintranet-search-enginep2pp2p-networkprivacyprivacy-protectionsearch-enginesearchenginewebweb-search-enginewebsearchwebseearch-engine
*) signal yacy shutdown to updater *) some javadoc added
theli74dd6cac95dd
diff --git a/source/de/anomic/plasma/plasmaCrawlEntry.java b/source/de/anomic/plasma/plasmaCrawlEntry.javaindex 310e267b4..a34582c13 100644--- a/source/de/anomic/plasma/plasmaCrawlEntry.java+++ b/source/de/anomic/plasma/plasmaCrawlEntry.java@@ -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,diff --git a/source/de/anomic/plasma/plasmaSwitchboard.java b/source/de/anomic/plasma/plasmaSwitchboard.javaindex 51981e799..253df403c 100644--- a/source/de/anomic/plasma/plasmaSwitchboard.java+++ b/source/de/anomic/plasma/plasmaSwitchboard.java@@ -1668,6 +1668,8 @@ public final class plasmaSwitchboard extends serverAbstractSwitch implements sererrorURL.close();wordIndex.close();yc.close();+ // signal shudown to the updater+ if (updaterCallback != null) updaterCallback.signalYaCyShutdown();log.logConfig("SWITCHBOARD SHUTDOWN TERMINATED");}