Examples of url()

@param url File URL or path relative to data directory @return File indicated by provided URL @see Files#url(File,String)
  • org.jeecgframework.core.annotation.config.AutoMenu.url()
  • org.jfrog.build.api.builder.BuildInfoBuilder.url()
    Sets the URL of the build @param url Build URL @return Builder instance
  • org.jfrog.build.api.builder.BuildInfoMavenBuilder.url()
    Sets the URL of the build @param url Build URL @return Builder instance
  • org.jsoup.Connection.url()
    Set the request URL to fetch. The protocol must be HTTP or HTTPS. @param url URL to connect to @return this Connection, for chaining
  • org.jsoup.Connection.Response.url()
  • org.mifosplatform.mix.data.NamespaceData.url()
  • org.onesocialweb.model.vcard4.VCard4Factory.url()
  • org.picketlink.idm.config.LDAPStoreConfigurationBuilder.url()
  • org.sgx.yuigwt.galleryexplorer.client.api.Module.url()
    gallery module url @return
  • org.stjs.testing.annotation.HTMLFixture.url()
  • play.mvc.Call.url()
    The request URL.

  • Examples of de.anomic.crawler.retrieval.Request.url()

            if (delay && sleeptime > 0) {
                // force a busy waiting here
                // in best case, this should never happen if the balancer works propertly
                // this is only to protection against the worst case, where the crawler could
                // behave in a DoS-manner
                Log.logInfo("BALANCER", "forcing crawl-delay of " + sleeptime + " milliseconds for " + crawlEntry.url().getHost() + ": " + Latency.waitingRemainingExplain(crawlEntry.url(), this.myAgentIDs, this.minimumLocalDelta, this.minimumGlobalDelta) + ", top.size() = " + this.top.size() + ", delayed.size() = " + this.delayed.size() + ", domainStacks.size() = " + this.domainStacks.size() + ", domainStacksInitSize = " + this.domStackInitSize);
                long loops = sleeptime / 1000;
                long rest = sleeptime % 1000;
                if (loops < 3) {
                  rest = rest + 1000 * loops;
                  loops = 0;
    View Full Code Here

    Examples of de.anomic.crawler.retrieval.Request.url()

                  rest = rest + 1000 * loops;
                  loops = 0;
                }
                if (rest > 0) {try {this.wait(rest); } catch (final InterruptedException e) {}}
                for (int i = 0; i < loops; i++) {
                  Log.logInfo("BALANCER", "waiting for " + crawlEntry.url().getHost() + ": " + (loops - i) + " seconds remaining...");
                    try {this.wait(1000); } catch (final InterruptedException e) {}
                }
            }
            this.ddc.remove(crawlEntry.url().hash());
            Latency.update(crawlEntry.url());
    View Full Code Here

    Examples of de.anomic.crawler.retrieval.Request.url()

                for (int i = 0; i < loops; i++) {
                  Log.logInfo("BALANCER", "waiting for " + crawlEntry.url().getHost() + ": " + (loops - i) + " seconds remaining...");
                    try {this.wait(1000); } catch (final InterruptedException e) {}
                }
            }
            this.ddc.remove(crawlEntry.url().hash());
            Latency.update(crawlEntry.url());
            return crawlEntry;
        }

        private void filltop(final boolean delay, final long maximumwaiting, final boolean acceptonebest) throws RowSpaceExceededException {
    View Full Code Here

    Examples of de.anomic.crawler.retrieval.Request.url()

                  Log.logInfo("BALANCER", "waiting for " + crawlEntry.url().getHost() + ": " + (loops - i) + " seconds remaining...");
                    try {this.wait(1000); } catch (final InterruptedException e) {}
                }
            }
            this.ddc.remove(crawlEntry.url().hash());
            Latency.update(crawlEntry.url());
            return crawlEntry;
        }

        private void filltop(final boolean delay, final long maximumwaiting, final boolean acceptonebest) throws RowSpaceExceededException {
          if (!this.top.isEmpty()) return;
    View Full Code Here

    Examples of de.anomic.crawler.retrieval.Request.url()

          while (i.hasNext()) {
              handle = i.next();
              final Row.Entry entry = this.urlFileIndex.get(handle);
              if (entry == null) continue;
              request = new Request(entry);
              host = request.url().getHost();
            try {
                    pushHashToDomainStacks(host, handle);
                } catch (final RowSpaceExceededException e) {
                    break;
                }
    View Full Code Here

    Examples of de.anomic.crawler.retrieval.Request.url()

            if (ee != null) return ee.url();
            for (final Loader w: this.workers.values()) {
                if (Base64Order.enhancedCoder.equal(w.request.url().hash(), urlhash)) return w.request.url();
            }
            final Request ne = this.noticeURL.get(urlhash);
            if (ne != null) return ne.url();
            return null;
        }

        public void cleanup() {
            // wait for all workers to finish
    View Full Code Here

    Examples of de.anomic.crawler.retrieval.Request.url()

                        // get one entry that will not be loaded, just indexed
                        urlEntry = this.noticeURL.pop(NoticedURL.StackType.NOLOAD, true, this.sb.crawler);
                        if (urlEntry == null) continue;
                        final String profileHandle = urlEntry.profileHandle();
                        if (profileHandle == null) {
                            this.log.logSevere(stats + ": NULL PROFILE HANDLE '" + urlEntry.profileHandle() + "' for URL " + urlEntry.url());
                            return true;
                        }
                        final CrawlProfile profile = this.sb.crawler.getActive(ASCII.getBytes(profileHandle));
                        if (profile == null) {
                            this.log.logSevere(stats + ": NULL PROFILE HANDLE '" + urlEntry.profileHandle() + "' for URL " + urlEntry.url());
    View Full Code Here

    Examples of de.anomic.crawler.retrieval.Request.url()

                            this.log.logSevere(stats + ": NULL PROFILE HANDLE '" + urlEntry.profileHandle() + "' for URL " + urlEntry.url());
                            return true;
                        }
                        final CrawlProfile profile = this.sb.crawler.getActive(ASCII.getBytes(profileHandle));
                        if (profile == null) {
                            this.log.logSevere(stats + ": NULL PROFILE HANDLE '" + urlEntry.profileHandle() + "' for URL " + urlEntry.url());
                            return true;
                        }
                        try {
                            this.sb.indexingDocumentProcessor.enQueue(new indexingQueueEntry(Segments.Process.LOCALCRAWLING, new Response(urlEntry, profile), null, null));
                            Log.logInfo("CrawlQueues", "placed NOLOAD URL on indexing queue: " + urlEntry.url().toNormalform(true, false));
    View Full Code Here

    Examples of de.anomic.crawler.retrieval.Request.url()

                            this.log.logSevere(stats + ": NULL PROFILE HANDLE '" + urlEntry.profileHandle() + "' for URL " + urlEntry.url());
                            return true;
                        }
                        try {
                            this.sb.indexingDocumentProcessor.enQueue(new indexingQueueEntry(Segments.Process.LOCALCRAWLING, new Response(urlEntry, profile), null, null));
                            Log.logInfo("CrawlQueues", "placed NOLOAD URL on indexing queue: " + urlEntry.url().toNormalform(true, false));
                        } catch (final InterruptedException e) {
                            Log.logException(e);
                        }
                        return true;
                    }
    View Full Code Here

    Examples of de.anomic.crawler.retrieval.Request.url()

                    if (urlEntry == null) continue;
                    final String profileHandle = urlEntry.profileHandle();
                    // System.out.println("DEBUG plasmaSwitchboard.processCrawling:
                    // profileHandle = " + profileHandle + ", urlEntry.url = " + urlEntry.url());
                    if (profileHandle == null) {
                        this.log.logSevere(stats + ": NULL PROFILE HANDLE '" + urlEntry.profileHandle() + "' for URL " + urlEntry.url());
                        return true;
                    }
                    load(urlEntry, stats, profileHandle);
                    return true;
                } catch (final IOException e) {
    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.