Examples of updateMySeed()


Examples of de.anomic.search.Switchboard.updateMySeed()

                    return prop;
            }
        }

        // update seed info
        sb.updateMySeed();

        final boolean adminaccess = sb.adminAuthenticated(header) >= 2;
        if (adminaccess) {
            prop.put("showPrivateTable", "1");
            prop.put("privateStatusTable", "Status_p.inc");
View Full Code Here

Examples of de.anomic.search.Switchboard.updateMySeed()

       
        // return variable that accumulates replacements
        final serverObjects prop = new serverObjects();

        // update seed info
        sb.updateMySeed();

        prop.putHTML("peername", sb.peers.mySeed().getName());
        prop.putHTML("peerdomain", sb.peers.mySeed().getName().toLowerCase());
        prop.putHTML("peeraddress", sb.peers.mySeed().getPublicAddress());
        prop.put("hostname", env.myPublicIP());
View Full Code Here

Examples of de.anomic.search.Switchboard.updateMySeed()

            segment = sb.indexSegments.segment(post.get("segment"));
        }
        if (segment == null) segment = sb.indexSegments.segment(Segments.Process.PUBLIC);
       
        prop.put("rejected", "0");
        sb.updateMySeed();
        final int cacheMaxSize = (int) sb.getConfigLong(SwitchboardConstants.WORDCACHE_MAX_COUNT, 10000);
        prop.putNum("ppm", sb.currentPPM());
        prop.putNum("qpm", sb.peers.mySeed().getQPM());
        prop.putNum("wordCacheSize", segment.termIndex().getBufferSize());
        prop.putNum("wordCacheMaxSize", cacheMaxSize);
View Full Code Here

Examples of de.anomic.search.Switchboard.updateMySeed()

            // create own peer info
            final yacySeed seed = sb.peers.mySeed();
            if (sb.peers.mySeed() != null){ //our Peer
                // update seed info
                sb.updateMySeed();
               
                final long LCount = seed.getLinkCount();
                final long ICount = seed.getWordCount();
                final long RCount = seed.getLong(yacySeed.RCOUNT, 0L);
View Full Code Here

Examples of de.anomic.search.Switchboard.updateMySeed()

                final ConcurrentMap<String, String> map = new ConcurrentHashMap<String, String>();
                map.put(yacySeed.IP, post.get("peerIP"));
                map.put(yacySeed.PORT, post.get("peerPort"));
                yacySeed peer = new yacySeed(post.get("peerHash"), map);

                sb.updateMySeed();
                final int added = yacyClient.hello(sb.peers.mySeed(), sb.peers.peerActions, peer.getPublicAddress(), peer.hash);

                if (added <= 0) {
                    prop.put("table_comment",1);
                    prop.putHTML("table_comment_status","publish: disconnected peer '" + peer.getName() + "/" + post.get("peerHash") + "' from " + peer.getPublicAddress());
View Full Code Here

Examples of de.anomic.search.Switchboard.updateMySeed()

                if (size == 0) {
                    prop.put("table", 0);//no remote senior/principal proxies known"
                } else {
                    // add temporary the own seed to the database
                    if (iAmActive) {
                        sb.updateMySeed();
                        sb.peers.addConnected(sb.peers.mySeed());
                    }

                    // find updated Information using YaCyNews
                    final HashSet<String> updatedProfile = new HashSet<String>();
View Full Code Here

Examples of net.yacy.search.Switchboard.updateMySeed()

            segment = sb.indexSegments.segment(post.get("segment"));
        }
        if (segment == null) segment = sb.indexSegments.segment(Segments.Process.PUBLIC);

        prop.put("rejected", "0");
        sb.updateMySeed();
        final int cacheMaxSize = (int) sb.getConfigLong(SwitchboardConstants.WORDCACHE_MAX_COUNT, 10000);
        prop.putNum("ppm", sb.currentPPM());
        prop.putNum("qpm", sb.peers.mySeed().getQPM());
        prop.putNum("wordCacheSize", segment.termIndex().getBufferSize());
        prop.putNum("wordCacheMaxSize", cacheMaxSize);
View Full Code Here

Examples of net.yacy.search.Switchboard.updateMySeed()

       
        // return variable that accumulates replacements
        final serverObjects prop = new serverObjects();

        // update seed info
        sb.updateMySeed();

        prop.putHTML("peername", sb.peers.mySeed().getName());
        prop.putHTML("peerdomain", sb.peers.mySeed().getName().toLowerCase());
        prop.putHTML("peeraddress", sb.peers.mySeed().getPublicAddress());
        prop.put("hostname", env.myPublicIP());
View Full Code Here

Examples of net.yacy.search.Switchboard.updateMySeed()

                    return prop;
            }
        }

        // update seed info
        sb.updateMySeed();

        final boolean adminaccess = sb.adminAuthenticated(header) >= 2;
        if (adminaccess) {
            prop.put("showPrivateTable", "1");
            prop.put("privateStatusTable", "Status_p.inc");
View Full Code Here

Examples of net.yacy.search.Switchboard.updateMySeed()

            // create own peer info
            final Seed seed = sb.peers.mySeed();
            if (sb.peers.mySeed() != null){ //our Peer
                // update seed info
                sb.updateMySeed();

                final long LCount = seed.getLinkCount();
                final long ICount = seed.getWordCount();
                final long RCount = seed.getLong(Seed.RCOUNT, 0L);
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.