Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for addOnConnectListener (0.09 sec)

  1. 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)
  2. 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