Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for addClient (0.09 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-lasta/src/main/resources/crawler/client.xml

    		<postConstruct name="addClient">
    			<arg>["http:.*", "https:.*"]</arg>
    			<arg>httpClient</arg>
    		</postConstruct>
    		<postConstruct name="addClient">
    			<arg>"file:.*"</arg>
    			<arg>fsClient</arg>
    		</postConstruct>
    		<postConstruct name="addClient">
    			<arg>"smb:.*"</arg>
    			<arg>smbClient</arg>
    		</postConstruct>
    		<postConstruct name="addClient">
    			<arg>"smb1:.*"</arg>
    			<arg>smb1Client</arg>
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Tue Aug 08 12:54:47 UTC 2023
    - 2.8K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. 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)
  7. 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