Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for addOnConnectListener (0.12 sec)

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

        }
    
        public OpenSearchUrlFilterService(final String name, final String type) {
            index = name + "." + type;
        }
    
        @PostConstruct
        public void init() {
            fesenClient.addOnConnectListener(() -> createMapping("filter"));
    
            includeFilterCache = createFilterCache(INCLUDE);
            excludeFilterCache = createFilterCache(EXCLUDE);
        }
    
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Nov 07 04:44:10 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  2. fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/service/impl/OpenSearchDataService.java

        }
    
        public OpenSearchDataService(final String name, final String type) {
            index = name + "." + type;
        }
    
        @PostConstruct
        public void init() {
            fesenClient.addOnConnectListener(() -> createMapping("data"));
        }
    
        @Override
        public void store(final OpenSearchAccessResult accessResult) {
            super.insert(accessResult, accessResult.getId() == null ? OpType.CREATE : OpType.INDEX);
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Nov 07 04:44:10 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  3. fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/service/impl/OpenSearchUrlQueueService.java

        }
    
        public OpenSearchUrlQueueService(final String name, final String type) {
            index = name + "." + type;
        }
    
        @PostConstruct
        public void init() {
            fesenClient.addOnConnectListener(() -> createMapping("queue"));
        }
    
        @PreDestroy
        public void destroy() {
            sessionCache.entrySet().stream().map(e -> e.getValue().waitingQueue).forEach(q -> q.forEach(urlQueue -> {
                try {
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Nov 07 04:44:10 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  4. fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/client/FesenClient.java

            }
        }
    
        public void setAddress(final String address) {
            this.address = address;
        }
    
        public void addOnConnectListener(final OnConnectListener listener) {
            onConnectListenerList.add(listener);
        }
    
        public boolean connected() {
            return connected;
        }
    
        public void connect() {
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Nov 07 04:44:10 UTC 2024
    - 19.9K bytes
    - Viewed (0)
Back to top