Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for addClient (0.11 sec)

  1. fess-crawler/src/test/java/org/codelibs/fess/crawler/client/CrawlerClientFactoryTest.java

            clientFactory.addClient("http:.*", httpClient);
            clientFactory.addClient("https:.*", httpClient);
            clientFactory.addClient("file:.*", container.getComponent("fsClient"));
            clientFactory.addClient("smb:.*", container.getComponent("smbClient"));
            clientFactory.addClient("smb1:.*", container.getComponent("smb1Client"));
            clientFactory.addClient("ftp:.*", container.getComponent("ftpClient"));
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  2. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/CrawlerClientFactory.java

            } catch (final Exception e) {
                if (logger.isDebugEnabled()) {
                    logger.debug("CrawlerClientCreator is unavailable.", e);
                }
            }
        }
    
        public void addClient(final String regex, final CrawlerClient client) {
            if (StringUtil.isBlank(regex)) {
                throw new CrawlerSystemException("A regular expression is null.");
            }
            if (client == null) {
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:47:32 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  3. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/CrawlerClientFactoryWrapper.java

        public void init() {
            factory.init();
        }
    
        @Override
        public void addClient(final String regex, final CrawlerClient client) {
            factory.addClient(regex, client);
        }
    
        @Override
        public void addClient(final String regex, final CrawlerClient client, final int pos) {
            factory.addClient(regex, client, pos);
        }
    
        @Override
        public int hashCode() {
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  4. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/CrawlerClientCreator.java

                logger.debug("loading {}", componentName);
            }
            CrawlerClient client = null;
            try {
                client = crawlerContainer.getComponent(componentName);
                crawlerClientFactory.addClient(regex, client);
            } catch (final Exception e) {
                if (logger.isDebugEnabled()) {
                    logger.debug("Failed to create {}.", componentName, e);
                } else {
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:47:32 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  5. fess-crawler/src/test/java/org/codelibs/fess/crawler/CrawlerTest.java

                    .<CrawlerClientFactory> singleton("clientFactory", CrawlerClientFactory.class, factory -> {
                        factory.addClient("http:.*", container.getComponent("httpClient"));
                        factory.addClient("file:.*", container.getComponent("fsClient"));
                    }).singleton("tikaExtractor", TikaExtractor.class)
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 18K bytes
    - Viewed (0)
  6. cmd/site-replication.go

    		}
    	}
    
    	addedCount := 0
    	var (
    		peerAddErr error
    		admClient  *madmin.AdminClient
    	)
    
    	for _, v := range sites {
    		if v.self {
    			continue
    		}
    		switch {
    		case currDeploymentIDsSet.Contains(v.DeploymentID):
    			admClient, err = c.getAdminClient(ctx, v.DeploymentID)
    		default:
    			admClient, err = getAdminClient(v.Endpoint, v.AccessKey, v.SecretKey)
    		}
    		if err != nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 15 12:04:40 UTC 2024
    - 185.1K bytes
    - Viewed (0)
Back to top