Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 135 for delayed (0.3 sec)

  1. fess-crawler/src/test/java/org/codelibs/fess/crawler/interval/impl/HostIntervalControllerTest.java

            // First access - should not delay
            final long start1 = System.nanoTime();
            controller.delayBeforeProcessing();
            final long elapsed1 = (System.nanoTime() - start1) / 1000000;
            assertTrue("First access should not delay", elapsed1 < 50);
    
            // Second access to same host - should delay
            q.setUrl("http://example.com/page2");
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Mon Nov 24 03:59:47 UTC 2025
    - 11.4K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/app/web/api/admin/stats/ApiAdminStatsAction.java

            /** Number of in-flight fetch operations */
            public int numberOfInFlightFetch;
            /** Number of pending tasks */
            public int numberOfPendingTasks;
            /** Number of delayed unassigned shards */
            public int delayedUnassignedShards;
            /** Number of unassigned shards */
            public int unassignedShards;
            /** Number of initializing shards */
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 19.7K bytes
    - Viewed (0)
  3. docs/smb3-features/06-witness-protocol-design.md

            InetAddress newAddress = newAddresses.get(0).getAddress();
            scheduleAddressChange(newAddress);
        }
    }
    
    private void scheduleReconnection(long delayMs) {
        CompletableFuture.delayedExecutor(delayMs, TimeUnit.MILLISECONDS)
            .execute(() -> {
                try {
                    transport.disconnect();
                    transport.connect();  // Reconnect
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 42K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb/SmbOperationExceptionTest.java

            // When
            long delay1 = policy.getDelayMs(1);
            long delay2 = policy.getDelayMs(2);
            long delay3 = policy.getDelayMs(3);
    
            // Then - All delays should be the same
            assertEquals(2000, delay1);
            assertEquals(2000, delay2);
            assertEquals(2000, delay3);
        }
    
        @Test
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 16.1K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb/SmbOperationException.java

                if (!exponentialBackoff) {
                    return initialDelayMs;
                }
    
                long delay = initialDelayMs;
                for (int i = 1; i < attemptNumber; i++) {
                    delay = (long) (delay * backoffMultiplier);
                }
    
                return Math.min(delay, maxDelayMs);
            }
    
            public int getMaxAttempts() {
                return maxAttempts;
            }
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 16.5K bytes
    - Viewed (0)
  6. fess-crawler/src/main/java/org/codelibs/fess/crawler/entity/RobotsTxt.java

        }
    
        /**
         * Gets the crawl delay value for the specified user agent from robots.txt.
         * The crawl delay specifies the time (in seconds) to wait between successive requests.
         *
         * @param userAgent The user agent string to match against robots.txt directives
         * @return The crawl delay value in seconds. Returns 0 if no matching directive is found
         *         or no crawl delay is specified for the matching directive.
         */
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Mon Nov 24 03:59:47 UTC 2025
    - 18.5K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/helper/IntervalControlHelper.java

            }
        }
    
        /**
         * Applies delay based on the configured interval rules.
         * This method calculates the appropriate delay for the current time
         * and applies it by sleeping the current thread.
         */
        public void delayByRules() {
            final long delay = getDelay();
            if (delay > 0) {
                ThreadUtil.sleep(delay);
            }
        }
    
        /**
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Sun Nov 23 12:34:02 UTC 2025
    - 10K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/core/lang/ClassUtil.java

         *             or if after unwrapping, the parameter values cannot be converted to the corresponding formal parameter types,
         *             or if the constructor is related to an enum type
         * @see Constructor#newInstance(Object[])
         */
        public static <T> T newInstance(final Class<T> clazz) throws InstantiationRuntimeException, IllegalAccessRuntimeException {
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 25.6K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/app/web/api/ApiResult.java

             */
            public ApiDeleteResponse() {
                // NOP
            }
    
            /**
             * The number of deleted items.
             */
            protected long count = 1;
    
            /**
             * Sets the count of deleted items.
             * @param count The number of deleted items.
             * @return The ApiDeleteResponse instance.
             */
            public ApiDeleteResponse count(final long count) {
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 24.9K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/app/web/admin/relatedcontent/AdminRelatedcontentAction.java

        /**
         * Displays the related content management index page.
         *
         * @return HTML response for the related content list page
         */
        @Execute
        @Secured({ ROLE, ROLE + VIEW })
        public HtmlResponse index() {
            return asListHtml();
        }
    
        /**
         * Displays a paginated list of related content items.
         *
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Nov 20 13:56:35 UTC 2025
    - 15.5K bytes
    - Viewed (0)
Back to top