Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 113 for stor (0.02 seconds)

  1. src/test/java/org/codelibs/fess/ds/DataStoreTest.java

                public void store(DataConfig config, IndexUpdateCallback callback, DataStoreParams initParamMap) {
                    // Do nothing
                }
    
                @Override
                public void stop() {
                    stopCallCount.incrementAndGet();
                }
            };
    
            // Execute stop multiple times
            dataStore.stop();
            dataStore.stop();
            dataStore.stop();
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 13.2K bytes
    - Click Count (0)
  2. src/main/java/org/codelibs/fess/helper/DataIndexHelper.java

            }
    
            /**
             * Stops the crawling operation gracefully.
             * If a data store is currently active, this method calls
             * its stop method to halt the crawling process.
             */
            public void stopCrawling() {
                if (dataStore != null) {
                    dataStore.stop();
                }
            }
    
            /**
             * Gets the crawling information ID for this thread.
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 19K bytes
    - Click Count (0)
  3. src/test/java/org/codelibs/fess/helper/DataIndexHelperTest.java

            @Override
            public void store(DataConfig dataConfig, IndexUpdateCallback callback, DataStoreParams params) {
                /* No-op */ }
    
            @Override
            public void stop() {
                /* No-op */ }
        }
    
        private static class FastMockFailureUrlService extends FailureUrlService {
            public void store(DataConfig dataConfig, String errorName, String url, Throwable e) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 12.9K bytes
    - Click Count (0)
  4. src/main/java/org/codelibs/fess/app/web/api/admin/scheduler/ApiAdminSchedulerAction.java

         *
         * @param id the ID of the scheduled job to stop
         * @return JSON response indicating success or failure
         */
        // PUT /api/admin/scheduler/{id}/stop
        @Execute(urlPattern = "{}/@word")
        public JsonResponse<ApiResult> put$stop(final String id) {
            scheduledJobService.getScheduledJob(id).ifPresent(entity -> {
                try {
                    entity.stop();
                } catch (final Exception e) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 28 11:55:54 GMT 2026
    - 10.7K bytes
    - Click Count (0)
  5. src/main/java/org/codelibs/fess/app/web/admin/scheduler/AdminSchedulerAction.java

        }
    
        /**
         * Stops a running scheduled job.
         *
         * @param form the edit form containing the ID of the job to stop
         * @return HTML response redirecting to the list page after stopping
         */
        @Execute
        @Secured({ ROLE })
        public HtmlResponse stop(final EditForm form) {
            verifyCrudMode(form.crudMode, CrudMode.DETAILS, this::asListHtml);
            final String id = form.id;
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Nov 20 13:56:35 GMT 2025
    - 21.8K bytes
    - Click Count (0)
  6. src/main/java/org/codelibs/fess/exec/Crawler.java

                logger.warn("Failed to store crawling information: sessionId={}", options.sessionId, e);
            }
    
            try {
                return crawler.doCrawl(options);
            } finally {
                try {
                    crawlingInfoHelper.store(options.sessionId, false);
                } catch (final Exception e) {
                    logger.warn("Failed to store crawling information: sessionId={}", options.sessionId, e);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 26 02:24:08 GMT 2026
    - 32.4K bytes
    - Click Count (0)
  7. src/main/java/org/codelibs/fess/helper/SystemHelper.java

        }
    
        /**
         * Checks if the system is in a force-stop state.
         *
         * @return true if the system is force-stopping, false otherwise.
         */
        public boolean isForceStop() {
            return forceStop.get();
        }
    
        /**
         * Sets the force-stop state of the system.
         *
         * @param b true to force-stop the system.
         */
        public void setForceStop(final boolean b) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 28 06:59:19 GMT 2026
    - 43.2K bytes
    - Click Count (0)
  8. src/test/java/org/codelibs/fess/ds/callback/IndexUpdateCallbackTest.java

                    commitCount.incrementAndGet();
                }
            };
    
            // Store some documents
            DataStoreParams params = new DataStoreParams();
            Map<String, Object> data = new HashMap<>();
    
            callback.store(params, data);
            callback.store(params, data);
            callback.store(params, data);
    
            assertEquals(3L, callback.getDocumentSize());
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 12.5K bytes
    - Click Count (0)
  9. src/main/resources/fess_indices/fess.json

            },
            "japanese_stop": {
              "type":       "stop",
              "stopwords_path": "${fess.dictionary.path}ja/stopwords.txt"
            },
            "korean_stop": {
              "type":       "stop",
              "stopwords_path": "${fess.dictionary.path}ko/stopwords.txt"
            },
            "latvian_stop": {
              "type":       "stop",
              "stopwords_path": "${fess.dictionary.path}lv/stopwords.txt"
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Mar 15 07:52:55 GMT 2026
    - 40K bytes
    - Click Count (0)
  10. src/main/java/org/codelibs/fess/helper/WebFsIndexHelper.java

            int activeCrawlerNum = 0;
            try {
                while (startedCrawlerNum < crawlerList.size()) {
                    // Force to stop crawl
                    if (systemHelper.isForceStop()) {
                        for (final Crawler crawler : crawlerList) {
                            crawler.stop();
                        }
                        break;
                    }
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 25K bytes
    - Click Count (0)
Back to Top