Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 33 for Threshold (4.97 sec)

  1. src/main/java/org/codelibs/curl/CurlRequest.java

            this.encoding = encoding;
            return this;
        }
    
        /**
         * Sets the threshold size for the request body.
         *
         * @param threshold the threshold
         * @return this CurlRequest instance
         */
        public CurlRequest threshold(final int threshold) {
            this.threshold = threshold;
            return this;
        }
    
        /**
         * Enables GZIP compression for the request.
         *
    Registered: Thu Sep 04 15:34:10 UTC 2025
    - Last Modified: Sat Jul 05 01:38:18 UTC 2025
    - 17.8K bytes
    - Viewed (0)
  2. src/test/java/jcifs/util/SmbCircuitBreakerTest.java

            // Create circuit breaker with dynamic threshold enabled
            SmbCircuitBreaker dynamicCircuitBreaker = new SmbCircuitBreaker("dynamic-test", 5, 2, 1000, 3, true, false, 100);
    
            try {
                // Test threshold adjustment
                int initialThreshold = dynamicCircuitBreaker.getCurrentFailureThreshold();
                assertEquals(5, initialThreshold, "Initial threshold should be 5");
    
                // Update threshold
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 23.2K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/TopKSelector.java

          // uncheckedCastNullableTToT is safe because bufferSize > 0.
          if (comparator.compare(elem, uncheckedCastNullableTToT(threshold)) > 0) {
            threshold = elem;
          }
          // uncheckedCastNullableTToT is safe because bufferSize > 0.
        } else if (comparator.compare(elem, uncheckedCastNullableTToT(threshold)) < 0) {
          // Otherwise, we can ignore elem; we've seen k better elements.
          buffer[bufferSize++] = elem;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Aug 31 13:15:26 UTC 2025
    - 11.4K bytes
    - Viewed (0)
  4. src/main/java/jcifs/util/SmbCircuitBreaker.java

        }
    
        /**
         * Get current failure threshold (may be dynamically adjusted)
         *
         * @return current failure threshold
         */
        public int getCurrentFailureThreshold() {
            return failureThreshold;
        }
    
        /**
         * Update failure threshold (for dynamic adjustment)
         *
         * @param newThreshold the new failure threshold
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 33.4K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/app/web/admin/general/EditForm.java

         * Specified failure types will not be logged or counted as errors.
         */
        @Size(max = 1000)
        public String ignoreFailureType;
    
        /**
         * Threshold for failure count before stopping crawling of a URL.
         * Set to -1 to disable the threshold check.
         */
        @Required
        @Min(-1)
        @Max(10000)
        @ValidateTypeFailure
        public Integer failureCountThreshold;
    
        /**
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 9.9K bytes
    - Viewed (0)
  6. src/main/java/jcifs/util/SimpleCircuitBreaker.java

            this.timeoutMillis = timeoutMillis;
    
            if (failureThreshold < 1) {
                throw new IllegalArgumentException("Failure threshold must be at least 1");
            }
            if (successThreshold < 1) {
                throw new IllegalArgumentException("Success threshold must be at least 1");
            }
            if (timeoutMillis < 0) {
                throw new IllegalArgumentException("Timeout must be non-negative");
            }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 11.3K bytes
    - Viewed (0)
  7. src/test/java/jcifs/util/SimpleCircuitBreakerTest.java

            assertEquals(1, stats.totalSuccesses);
            assertEquals(0, stats.totalFailures);
            assertEquals(1.0, stats.successRate);
        }
    
        @Test
        @DisplayName("Test circuit opens after failure threshold")
        void testCircuitOpensAfterThreshold() {
            // Fail 3 times to open the circuit
            for (int i = 0; i < 3; i++) {
                try {
                    circuitBreaker.call(() -> {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 10.6K bytes
    - Viewed (0)
  8. docs/bigdata/README.md

    mapreduce.reduce.shuffle.input.buffer.percent=0.9 # Min % buffer in RAM
    mapreduce.reduce.shuffle.merge.percent=0.9 # Minimum % merges in RAM
    mapreduce.reduce.speculative=false # Disable speculation for reducing
    mapreduce.task.io.sort.factor=999 # Threshold before writing to disk
    mapreduce.task.sort.spill.percent=0.9 # Minimum % before spilling to disk
    ```
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Tue Aug 12 18:20:36 UTC 2025
    - 14.7K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/app/service/CrawlingInfoService.java

         *
         * @param activeSessionId the session ID to exclude from deletion (can be null)
         * @param name optional name filter for sessions to delete (can be null or blank)
         * @param date the expiration time threshold - sessions expired before this time will be deleted
         */
        public void deleteSessionIdsBefore(final String activeSessionId, final String name, final long date) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 19.9K bytes
    - Viewed (0)
  10. src/main/java/jcifs/util/AuthenticationRateLimiter.java

     *
     * Features:
     * - Per-account rate limiting
     * - Per-IP rate limiting
     * - Global rate limiting
     * - Exponential backoff for repeated failures
     * - Account lockout after threshold
     * - Automatic cleanup of old entries
     */
    public class AuthenticationRateLimiter implements AutoCloseable {
    
        private static final Logger log = LoggerFactory.getLogger(AuthenticationRateLimiter.class);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 15.1K bytes
    - Viewed (0)
Back to top