Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 30 for getClient (0.18 sec)

  1. fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/service/impl/AbstractCrawlerService.java

                    response = getClient().get(c -> c.prepareSearchScroll(sid).setScroll(new TimeValue(scrollTimeout)).execute());
                    if (!scrollId.equals(response.getScrollId())) {
                        getClient().clearScroll(scrollId);
                    }
                    scrollId = response.getScrollId();
                }
            } finally {
                getClient().clearScroll(scrollId);
            }
    
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Nov 07 04:44:10 UTC 2024
    - 23.6K bytes
    - Viewed (0)
  2. fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/service/impl/OpenSearchUrlQueueService.java

                    response = getClient().get(c -> c.prepareSearchScroll(sid).setScroll(new TimeValue(scrollTimeout)).execute());
                    if (!scrollId.equals(response.getScrollId())) {
                        getClient().clearScroll(scrollId);
                    }
                    scrollId = response.getScrollId();
                }
            } finally {
                getClient().clearScroll(scrollId);
            }
        }
    
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Nov 07 04:44:10 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  3. fess-crawler/src/main/java/org/codelibs/fess/crawler/CrawlerThread.java

                    }
                }
            }
        }
    
        protected CrawlerClient getClient(final String url) {
            return clientFactory.getClient(url);
        }
    
        protected boolean isContentUpdated(final CrawlerClient client, final UrlQueue<?> urlQueue) {
            if (urlQueue.getLastModified() != null) {
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Sat Oct 12 01:41:37 UTC 2024
    - 15.5K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/crawler/FessCrawlerThread.java

                    return e.getFirst();
                }
                return null;
            }).filter(StringUtil::isNotBlank).findFirst()//
                    .map(s -> clientFactory.getClient(s + ":" + url))//
                    .orElseGet(() -> clientFactory.getClient(url));
            if (logger.isDebugEnabled()) {
                logger.debug("CrawlerClient: {}", client.getClass().getCanonicalName());
            }
            return client;
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 14.6K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/thumbnail/impl/BaseThumbnailGenerator.java

                        config.initializeClientFactory(() -> ComponentUtil.getComponent(CrawlerClientFactory.class));
                final CrawlerClient client = crawlerClientFactory.getClient(url);
                if (client == null) {
                    throw new ThumbnailGenerationException("No CrawlerClient: " + configId + ", url: " + url);
                }
                String u = url;
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/net/InetAddressesTest.java

        InetAddress server = InetAddresses.forString(serverStr);
        assertEquals(server, teredo.getServer());
    
        InetAddress client = InetAddresses.forString(clientStr);
        assertEquals(client, teredo.getClient());
    
        assertEquals(port, teredo.getPort());
        assertEquals(flags, teredo.getFlags());
      }
    
      public void testTeredoAddress_nullServer() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri May 24 16:44:05 UTC 2024
    - 35.3K bytes
    - Viewed (0)
  7. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/ftp/FtpClient.java

            try {
                responseData.setMethod(Constants.GET_METHOD);
    
                final FtpInfo ftpInfo = new FtpInfo(uri);
                responseData.setUrl(ftpInfo.toUrl());
    
                client = getClient(ftpInfo);
    
                FTPFile file = null;
                client.changeWorkingDirectory(ftpInfo.getParent());
                validateRequest(client);
    
                if (ftpInfo.getName() == null) {
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Sat Oct 12 01:41:37 UTC 2024
    - 25.7K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/helper/DocumentHelper.java

            }
    
            final CrawlerClientFactory crawlerClientFactory = crawlingConfig.initializeClientFactory(ComponentUtil::getCrawlerClientFactory);
            final CrawlerClient client = crawlerClientFactory.getClient(url);
            if (client == null) {
                throw new CrawlingAccessException("CrawlerClient is null for " + url);
            }
    
            final SystemHelper systemHelper = ComponentUtil.getSystemHelper();
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 12K bytes
    - Viewed (0)
  9. guava/src/com/google/common/net/InetAddresses.java

          this.port = port;
          this.flags = flags;
        }
    
        public Inet4Address getServer() {
          return server;
        }
    
        public Inet4Address getClient() {
          return client;
        }
    
        public int getPort() {
          return port;
        }
    
        public int getFlags() {
          return flags;
        }
      }
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 47.1K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb/Kerb5Context.java

            for ( KerberosTicket ticket : subject.getPrivateCredentials(KerberosTicket.class) ) {
                MIEName client = new MIEName(mech, ticket.getClient().getName());
                MIEName server = new MIEName(mech, ticket.getServer().getName());
                if ( src.equals(client) && targ.equals(server) ) {
                    return ticket.getSessionKey();
                }
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Thu Aug 02 08:22:42 UTC 2018
    - 13.9K bytes
    - Viewed (0)
Back to top