Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for delayBeforeProcessing (0.14 sec)

  1. fess-crawler/src/main/java/org/codelibs/fess/crawler/interval/impl/HostIntervalController.java

            super(params);
        }
    
        /*
         * (non-Javadoc)
         *
         * @see org.codelibs.fess.crawler.interval.impl.AbstractIntervalController#
         * delayBeforeProcessing()
         */
        @Override
        protected void delayBeforeProcessing() {
            final UrlQueue<?> urlQueue = CrawlingParameterUtil.getUrlQueue();
            if (urlQueue == null) {
                return;
            }
    
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 3K bytes
    - Viewed (0)
  2. fess-crawler/src/main/java/org/codelibs/fess/crawler/interval/impl/AbstractIntervalController.java

         */
        @Override
        public void delay(final int type) {
            try {
                switch (type) {
                case PRE_PROCESSING:
                    delayBeforeProcessing();
                    break;
                case POST_PROCESSING:
                    delayAfterProcessing();
                    break;
                case NO_URL_IN_QUEUE:
                    delayAtNoUrlInQueue();
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  3. fess-crawler/src/main/java/org/codelibs/fess/crawler/interval/impl/DefaultIntervalController.java

            }
        }
    
        /*
         * (non-Javadoc)
         *
         * @see org.codelibs.fess.crawler.interval.impl.AbstractIntervalController#
         * delayBeforeProcessing()
         */
        @Override
        protected void delayBeforeProcessing() {
            if (delayMillisBeforeProcessing > 0) {
                ThreadUtil.sleep(delayMillisBeforeProcessing);
            }
        }
    
        /*
         * (non-Javadoc)
         *
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Sat Oct 12 01:40:57 UTC 2024
    - 3K bytes
    - Viewed (0)
  4. fess-crawler/src/test/java/org/codelibs/fess/crawler/interval/impl/HostIntervalControllerTest.java

            final Callable<Integer> testCallable = new Callable<Integer>() {
                public Integer call() throws Exception {
                    CrawlingParameterUtil.setUrlQueue(q);
                    controller.delayBeforeProcessing();
                    return 0;
                }
            };
    
            // Callableタスクを複数生成
            final List<Callable<Integer>> tasks = new ArrayList<Callable<Integer>>();
            for (int i = 0; i < numTasks; i++) {
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 3.2K bytes
    - Viewed (0)
Back to top